Autogenerated update (2018-12-07)
Update: - dlp_v2 - monitoring_v3 - redis_v1 - redis_v1beta1 - serviceconsumermanagement_v1 - servicenetworking_v1beta - serviceusage_v1 - serviceusage_v1beta1 - youtube_partner_v1
This commit is contained in:
parent
7f669492c9
commit
42f94aee71
|
@ -74885,6 +74885,7 @@
|
|||
"/monitoring:v3/InternalChecker/network": network
|
||||
"/monitoring:v3/InternalChecker/peerProjectId": peer_project_id
|
||||
"/monitoring:v3/InternalChecker/projectId": project_id
|
||||
"/monitoring:v3/InternalChecker/state": state
|
||||
"/monitoring:v3/LabelDescriptor": label_descriptor
|
||||
"/monitoring:v3/LabelDescriptor/description": description
|
||||
"/monitoring:v3/LabelDescriptor/key": key
|
||||
|
@ -83221,6 +83222,9 @@
|
|||
"/servicenetworking:v1beta/QuotaLimit/unit": unit
|
||||
"/servicenetworking:v1beta/QuotaLimit/values": values
|
||||
"/servicenetworking:v1beta/QuotaLimit/values/value": value
|
||||
"/servicenetworking:v1beta/SearchRangeRequest": search_range_request
|
||||
"/servicenetworking:v1beta/SearchRangeRequest/ipPrefixLength": ip_prefix_length
|
||||
"/servicenetworking:v1beta/SearchRangeRequest/network": network
|
||||
"/servicenetworking:v1beta/Service": service
|
||||
"/servicenetworking:v1beta/Service/apis": apis
|
||||
"/servicenetworking:v1beta/Service/apis/api": api
|
||||
|
@ -83321,6 +83325,8 @@
|
|||
"/servicenetworking:v1beta/servicenetworking.services.patch/force": force
|
||||
"/servicenetworking:v1beta/servicenetworking.services.patch/name": name
|
||||
"/servicenetworking:v1beta/servicenetworking.services.patch/updateMask": update_mask
|
||||
"/servicenetworking:v1beta/servicenetworking.services.searchRange": search_service_range
|
||||
"/servicenetworking:v1beta/servicenetworking.services.searchRange/parent": parent
|
||||
"/serviceusage:v1/Api": api
|
||||
"/serviceusage:v1/Api/methods": methods_prop
|
||||
"/serviceusage:v1/Api/methods/methods_prop": methods_prop
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/dlp/docs/
|
||||
module DlpV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20181113'
|
||||
REVISION = '20181204'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1161,8 +1161,8 @@ module Google
|
|||
# Pseudonymization method that generates surrogates via cryptographic hashing.
|
||||
# Uses SHA-256.
|
||||
# The key size must be either 32 or 64 bytes.
|
||||
# Outputs a 32 byte digest as an uppercase hex string
|
||||
# (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE).
|
||||
# Outputs a base64 encoded representation of the hashed output
|
||||
# (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=).
|
||||
# Currently, only string and integer values can be hashed.
|
||||
class GooglePrivacyDlpV2CryptoHashConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -4066,8 +4066,8 @@ module Google
|
|||
# Pseudonymization method that generates surrogates via cryptographic hashing.
|
||||
# Uses SHA-256.
|
||||
# The key size must be either 32 or 64 bytes.
|
||||
# Outputs a 32 byte digest as an uppercase hex string
|
||||
# (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE).
|
||||
# Outputs a base64 encoded representation of the hashed output
|
||||
# (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=).
|
||||
# Currently, only string and integer values can be hashed.
|
||||
# Corresponds to the JSON property `cryptoHashConfig`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoHashConfig]
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/monitoring/api/
|
||||
module MonitoringV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20181126'
|
||||
REVISION = '20181205'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1238,6 +1238,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :peer_project_id
|
||||
|
||||
# The current operational state of the internal checker.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -1249,6 +1254,7 @@ module Google
|
|||
@name = args[:name] if args.key?(:name)
|
||||
@network = args[:network] if args.key?(:network)
|
||||
@peer_project_id = args[:peer_project_id] if args.key?(:peer_project_id)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -686,6 +686,7 @@ module Google
|
|||
property :name, as: 'name'
|
||||
property :network, as: 'network'
|
||||
property :peer_project_id, as: 'peerProjectId'
|
||||
property :state, as: 'state'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -20,13 +20,12 @@ module Google
|
|||
module Apis
|
||||
# Google Cloud Memorystore for Redis API
|
||||
#
|
||||
# The Google Cloud Memorystore for Redis API is used for creating and managing
|
||||
# Redis instances on the Google Cloud Platform.
|
||||
# Creates and manages Redis instances on the Google Cloud Platform.
|
||||
#
|
||||
# @see https://cloud.google.com/memorystore/docs/redis/
|
||||
module RedisV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181031'
|
||||
REVISION = '20181203'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -22,8 +22,7 @@ module Google
|
|||
module RedisV1
|
||||
# Google Cloud Memorystore for Redis API
|
||||
#
|
||||
# The Google Cloud Memorystore for Redis API is used for creating and managing
|
||||
# Redis instances on the Google Cloud Platform.
|
||||
# Creates and manages Redis instances on the Google Cloud Platform.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/redis_v1'
|
||||
|
|
|
@ -20,13 +20,12 @@ module Google
|
|||
module Apis
|
||||
# Google Cloud Memorystore for Redis API
|
||||
#
|
||||
# The Google Cloud Memorystore for Redis API is used for creating and managing
|
||||
# Redis instances on the Google Cloud Platform.
|
||||
# Creates and manages Redis instances on the Google Cloud Platform.
|
||||
#
|
||||
# @see https://cloud.google.com/memorystore/docs/redis/
|
||||
module RedisV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20181031'
|
||||
REVISION = '20181203'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -22,8 +22,7 @@ module Google
|
|||
module RedisV1beta1
|
||||
# Google Cloud Memorystore for Redis API
|
||||
#
|
||||
# The Google Cloud Memorystore for Redis API is used for creating and managing
|
||||
# Redis instances on the Google Cloud Platform.
|
||||
# Creates and manages Redis instances on the Google Cloud Platform.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/redis_v1beta1'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
||||
module ServiceconsumermanagementV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181121'
|
||||
REVISION = '20181205'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -220,7 +220,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :audiences
|
||||
|
||||
# Redirect URL if JWT token is required but no present or is expired.
|
||||
# Redirect URL if JWT token is required but not present or is expired.
|
||||
# Implement authorizationUrl of securityDefinitions in OpenAPI spec.
|
||||
# Corresponds to the JSON property `authorizationUrl`
|
||||
# @return [String]
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
||||
module ServicenetworkingV1beta
|
||||
VERSION = 'V1beta'
|
||||
REVISION = '20181204'
|
||||
REVISION = '20181205'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -206,7 +206,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :audiences
|
||||
|
||||
# Redirect URL if JWT token is required but no present or is expired.
|
||||
# Redirect URL if JWT token is required but not present or is expired.
|
||||
# Implement authorizationUrl of securityDefinitions in OpenAPI spec.
|
||||
# Corresponds to the JSON property `authorizationUrl`
|
||||
# @return [String]
|
||||
|
@ -2621,6 +2621,40 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Request to search for an unused range within allocated ranges.
|
||||
class SearchRangeRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. The prefix length of the IP range.
|
||||
# Use usual CIDR range notation.
|
||||
# For example, '30' to find unused x.x.x.x/30 CIDR range.
|
||||
# Actual range will be determined using allocated range for the consumer
|
||||
# peered network and returned in the result.
|
||||
# Corresponds to the JSON property `ipPrefixLength`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :ip_prefix_length
|
||||
|
||||
# Network name in the consumer project. This network must have been
|
||||
# already peered with a shared VPC network using CreateConnection
|
||||
# method.
|
||||
# Must be in a form 'projects/`project`/global/networks/`network`'.
|
||||
# `project` is a project number, as in '12345'
|
||||
# `network` is network name.
|
||||
# Corresponds to the JSON property `network`
|
||||
# @return [String]
|
||||
attr_accessor :network
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
|
||||
@network = args[:network] if args.key?(:network)
|
||||
end
|
||||
end
|
||||
|
||||
# `Service` is the root object of Google service configuration schema. It
|
||||
# describes basic information about a service, such as the name and the
|
||||
# title, and delegates other aspects to sub-sections. Each sub-section is
|
||||
|
|
|
@ -298,6 +298,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SearchRangeRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Service
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -843,6 +849,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class SearchRangeRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :ip_prefix_length, as: 'ipPrefixLength'
|
||||
property :network, as: 'network'
|
||||
end
|
||||
end
|
||||
|
||||
class Service
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -86,6 +86,8 @@ module Google
|
|||
# ipV4 network mask). The method checks against the assigned allocated ranges
|
||||
# to find a non-conflicting IP address range. The method will reuse a subnet
|
||||
# if subsequent calls contain the same subnet name, region, prefix length.
|
||||
# This method will make producer's tenant project to be a shared VPC service
|
||||
# project as needed.
|
||||
# The response from the `get` operation will be of type `Subnetwork` if the
|
||||
# operation successfully completes.
|
||||
# @param [String] parent
|
||||
|
@ -173,6 +175,48 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Service producers can use this method to find a currently unused range
|
||||
# within consumer allocated ranges. This returned range is not reserved,
|
||||
# and not guaranteed to remain unused.
|
||||
# It will validate previously provided allocated ranges, find
|
||||
# non-conflicting sub-range of requested size (expressed in
|
||||
# number of leading bits of ipv4 network mask, as in CIDR range
|
||||
# notation).
|
||||
# Operation<response: Range>
|
||||
# @param [String] parent
|
||||
# Required. This is in a form services/`service`.
|
||||
# `service` the name of the private access management service, for example
|
||||
# 'service-peering.example.com'.
|
||||
# @param [Google::Apis::ServicenetworkingV1beta::SearchRangeRequest] search_range_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ServicenetworkingV1beta::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServicenetworkingV1beta::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def search_service_range(parent, search_range_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta/{+parent}:searchRange', options)
|
||||
command.request_representation = Google::Apis::ServicenetworkingV1beta::SearchRangeRequest::Representation
|
||||
command.request_object = search_range_request_object
|
||||
command.response_representation = Google::Apis::ServicenetworkingV1beta::Operation::Representation
|
||||
command.response_class = Google::Apis::ServicenetworkingV1beta::Operation
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a private connection that establishes a VPC Network Peering
|
||||
# connection to a VPC network in the service producer's organization.
|
||||
# The administrator of the service consumer's VPC network invokes this
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/service-usage/
|
||||
module ServiceusageV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181030'
|
||||
REVISION = '20181205'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -125,7 +125,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :audiences
|
||||
|
||||
# Redirect URL if JWT token is required but no present or is expired.
|
||||
# Redirect URL if JWT token is required but not present or is expired.
|
||||
# Implement authorizationUrl of securityDefinitions in OpenAPI spec.
|
||||
# Corresponds to the JSON property `authorizationUrl`
|
||||
# @return [String]
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/service-usage/
|
||||
module ServiceusageV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20181030'
|
||||
REVISION = '20181205'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -125,7 +125,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :audiences
|
||||
|
||||
# Redirect URL if JWT token is required but no present or is expired.
|
||||
# Redirect URL if JWT token is required but not present or is expired.
|
||||
# Implement authorizationUrl of securityDefinitions in OpenAPI spec.
|
||||
# Corresponds to the JSON property `authorizationUrl`
|
||||
# @return [String]
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/youtube/partner/
|
||||
module YoutubePartnerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181126'
|
||||
REVISION = '20181203'
|
||||
|
||||
# View and manage your assets and associated content on YouTube
|
||||
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
||||
|
|
Loading…
Reference in New Issue