diff --git a/api_names_out.yaml b/api_names_out.yaml index 2867196ea..ed7294e76 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 diff --git a/generated/google/apis/dlp_v2.rb b/generated/google/apis/dlp_v2.rb index 3837b93e9..e133bfa09 100644 --- a/generated/google/apis/dlp_v2.rb +++ b/generated/google/apis/dlp_v2.rb @@ -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' diff --git a/generated/google/apis/dlp_v2/classes.rb b/generated/google/apis/dlp_v2/classes.rb index d07dde42d..aa66ff4e6 100644 --- a/generated/google/apis/dlp_v2/classes.rb +++ b/generated/google/apis/dlp_v2/classes.rb @@ -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] diff --git a/generated/google/apis/monitoring_v3.rb b/generated/google/apis/monitoring_v3.rb index a81371ad0..8d5d324fc 100644 --- a/generated/google/apis/monitoring_v3.rb +++ b/generated/google/apis/monitoring_v3.rb @@ -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' diff --git a/generated/google/apis/monitoring_v3/classes.rb b/generated/google/apis/monitoring_v3/classes.rb index 41ae08abe..6f368e3c4 100644 --- a/generated/google/apis/monitoring_v3/classes.rb +++ b/generated/google/apis/monitoring_v3/classes.rb @@ -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 diff --git a/generated/google/apis/monitoring_v3/representations.rb b/generated/google/apis/monitoring_v3/representations.rb index fa3bd5e7b..99805a4f8 100644 --- a/generated/google/apis/monitoring_v3/representations.rb +++ b/generated/google/apis/monitoring_v3/representations.rb @@ -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 diff --git a/generated/google/apis/redis_v1.rb b/generated/google/apis/redis_v1.rb index 037b793c9..426671ec5 100644 --- a/generated/google/apis/redis_v1.rb +++ b/generated/google/apis/redis_v1.rb @@ -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' diff --git a/generated/google/apis/redis_v1/service.rb b/generated/google/apis/redis_v1/service.rb index a27f2f8fb..9c4ea8b54 100644 --- a/generated/google/apis/redis_v1/service.rb +++ b/generated/google/apis/redis_v1/service.rb @@ -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' diff --git a/generated/google/apis/redis_v1beta1.rb b/generated/google/apis/redis_v1beta1.rb index f24fd9dbf..0b98774a0 100644 --- a/generated/google/apis/redis_v1beta1.rb +++ b/generated/google/apis/redis_v1beta1.rb @@ -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' diff --git a/generated/google/apis/redis_v1beta1/service.rb b/generated/google/apis/redis_v1beta1/service.rb index 47b09b69d..797f834cb 100644 --- a/generated/google/apis/redis_v1beta1/service.rb +++ b/generated/google/apis/redis_v1beta1/service.rb @@ -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' diff --git a/generated/google/apis/serviceconsumermanagement_v1.rb b/generated/google/apis/serviceconsumermanagement_v1.rb index d66d8a3d2..94070c165 100644 --- a/generated/google/apis/serviceconsumermanagement_v1.rb +++ b/generated/google/apis/serviceconsumermanagement_v1.rb @@ -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' diff --git a/generated/google/apis/serviceconsumermanagement_v1/classes.rb b/generated/google/apis/serviceconsumermanagement_v1/classes.rb index 5f743d74a..e0de26efe 100644 --- a/generated/google/apis/serviceconsumermanagement_v1/classes.rb +++ b/generated/google/apis/serviceconsumermanagement_v1/classes.rb @@ -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] diff --git a/generated/google/apis/servicenetworking_v1beta.rb b/generated/google/apis/servicenetworking_v1beta.rb index 97486f7df..41dcbb69a 100644 --- a/generated/google/apis/servicenetworking_v1beta.rb +++ b/generated/google/apis/servicenetworking_v1beta.rb @@ -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' diff --git a/generated/google/apis/servicenetworking_v1beta/classes.rb b/generated/google/apis/servicenetworking_v1beta/classes.rb index c29232366..c480c8765 100644 --- a/generated/google/apis/servicenetworking_v1beta/classes.rb +++ b/generated/google/apis/servicenetworking_v1beta/classes.rb @@ -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 diff --git a/generated/google/apis/servicenetworking_v1beta/representations.rb b/generated/google/apis/servicenetworking_v1beta/representations.rb index 52b951634..af9504331 100644 --- a/generated/google/apis/servicenetworking_v1beta/representations.rb +++ b/generated/google/apis/servicenetworking_v1beta/representations.rb @@ -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 diff --git a/generated/google/apis/servicenetworking_v1beta/service.rb b/generated/google/apis/servicenetworking_v1beta/service.rb index d9357ebf9..f2d8f5d04 100644 --- a/generated/google/apis/servicenetworking_v1beta/service.rb +++ b/generated/google/apis/servicenetworking_v1beta/service.rb @@ -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 + # @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 diff --git a/generated/google/apis/serviceusage_v1.rb b/generated/google/apis/serviceusage_v1.rb index 8535c864c..e7fcc8c47 100644 --- a/generated/google/apis/serviceusage_v1.rb +++ b/generated/google/apis/serviceusage_v1.rb @@ -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' diff --git a/generated/google/apis/serviceusage_v1/classes.rb b/generated/google/apis/serviceusage_v1/classes.rb index 6bee98c66..c1e50ad22 100644 --- a/generated/google/apis/serviceusage_v1/classes.rb +++ b/generated/google/apis/serviceusage_v1/classes.rb @@ -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] diff --git a/generated/google/apis/serviceusage_v1beta1.rb b/generated/google/apis/serviceusage_v1beta1.rb index 82e197c88..38a28c670 100644 --- a/generated/google/apis/serviceusage_v1beta1.rb +++ b/generated/google/apis/serviceusage_v1beta1.rb @@ -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' diff --git a/generated/google/apis/serviceusage_v1beta1/classes.rb b/generated/google/apis/serviceusage_v1beta1/classes.rb index bfb770bed..63e8328ab 100644 --- a/generated/google/apis/serviceusage_v1beta1/classes.rb +++ b/generated/google/apis/serviceusage_v1beta1/classes.rb @@ -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] diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index 02b5621a7..a394c4e8b 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -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'