From 2c1e1f5349d89e865ffc08001ce9f3bf15c30331 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Sat, 13 Jun 2020 00:38:22 +0000 Subject: [PATCH] Autogenerated update (2020-06-13) Update: - compute_alpha - compute_beta - compute_v1 - groupsmigration_v1 - jobs_v3 - jobs_v3p1beta1 - pubsub_v1 - serviceconsumermanagement_v1 - serviceconsumermanagement_v1beta1 - servicenetworking_v1 - servicenetworking_v1beta - serviceusage_v1 - serviceusage_v1beta1 - texttospeech_v1 - texttospeech_v1beta1 --- generated/google/apis/compute_alpha.rb | 2 +- .../google/apis/compute_alpha/classes.rb | 94 ++++++++++++++++++- .../apis/compute_alpha/representations.rb | 36 +++++++ generated/google/apis/compute_beta.rb | 2 +- generated/google/apis/compute_beta/classes.rb | 18 +++- .../apis/compute_beta/representations.rb | 2 + generated/google/apis/compute_v1.rb | 2 +- generated/google/apis/compute_v1/classes.rb | 6 +- generated/google/apis/groupsmigration_v1.rb | 5 +- .../google/apis/groupsmigration_v1/service.rb | 27 ++---- generated/google/apis/jobs_v3.rb | 2 +- generated/google/apis/jobs_v3/classes.rb | 6 +- generated/google/apis/jobs_v3p1beta1.rb | 2 +- .../google/apis/jobs_v3p1beta1/classes.rb | 6 +- generated/google/apis/pubsub_v1.rb | 2 +- generated/google/apis/pubsub_v1/classes.rb | 56 +++++++++-- .../google/apis/pubsub_v1/representations.rb | 16 ++++ .../apis/serviceconsumermanagement_v1.rb | 2 +- .../serviceconsumermanagement_v1/classes.rb | 82 +++++++++++----- .../apis/serviceconsumermanagement_v1beta1.rb | 2 +- .../classes.rb | 82 +++++++++++----- generated/google/apis/servicenetworking_v1.rb | 2 +- .../apis/servicenetworking_v1/classes.rb | 83 +++++++++++----- .../google/apis/servicenetworking_v1beta.rb | 2 +- .../apis/servicenetworking_v1beta/classes.rb | 83 +++++++++++----- generated/google/apis/serviceusage_v1.rb | 2 +- .../google/apis/serviceusage_v1/classes.rb | 84 +++++++++++------ generated/google/apis/serviceusage_v1beta1.rb | 2 +- .../apis/serviceusage_v1beta1/classes.rb | 84 +++++++++++------ generated/google/apis/texttospeech_v1.rb | 2 +- .../google/apis/texttospeech_v1/classes.rb | 2 +- generated/google/apis/texttospeech_v1beta1.rb | 2 +- .../apis/texttospeech_v1beta1/classes.rb | 2 +- 33 files changed, 589 insertions(+), 213 deletions(-) diff --git a/generated/google/apis/compute_alpha.rb b/generated/google/apis/compute_alpha.rb index 234e382b4..fcbab3241 100644 --- a/generated/google/apis/compute_alpha.rb +++ b/generated/google/apis/compute_alpha.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeAlpha VERSION = 'Alpha' - REVISION = '20200511' + REVISION = '20200515' # 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/compute_alpha/classes.rb b/generated/google/apis/compute_alpha/classes.rb index 46bd7c2bd..59b48657c 100644 --- a/generated/google/apis/compute_alpha/classes.rb +++ b/generated/google/apis/compute_alpha/classes.rb @@ -5433,9 +5433,9 @@ module Google attr_accessor :options # Physical block size of the persistent disk, in bytes. If not present in a - # request, a default value is used. Currently supported sizes are 4096 and 16384, - # other sizes may be added in the future. If an unsupported value is requested, - # the error message will list the supported values for the caller's project. + # request, a default value is used. The currently supported size is 4096, other + # sizes may be added in the future. If an unsupported value is requested, the + # error message will list the supported values for the caller's project. # Corresponds to the JSON property `physicalBlockSizeBytes` # @return [Fixnum] attr_accessor :physical_block_size_bytes @@ -13464,6 +13464,13 @@ module Google class InstanceGroupManagersApplyUpdatesRequest include Google::Apis::Core::Hashable + # Flag to update all instances instead of specified list of ?instances?. If the + # flag is set to true then the instances may not be specified in the request. + # Corresponds to the JSON property `allInstances` + # @return [Boolean] + attr_accessor :all_instances + alias_method :all_instances?, :all_instances + # The list of URLs of one or more instances for which you want to apply updates. # Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[ # INSTANCE_NAME]. @@ -13507,6 +13514,7 @@ module Google # Update properties of this object def update!(**args) + @all_instances = args[:all_instances] if args.key?(:all_instances) @instances = args[:instances] if args.key?(:instances) @maximal_action = args[:maximal_action] if args.key?(:maximal_action) @minimal_action = args[:minimal_action] if args.key?(:minimal_action) @@ -26614,6 +26622,13 @@ module Google class RegionInstanceGroupManagersApplyUpdatesRequest include Google::Apis::Core::Hashable + # Flag to update all instances instead of specified list of ?instances?. If the + # flag is set to true then the instances may not be specified in the request. + # Corresponds to the JSON property `allInstances` + # @return [Boolean] + attr_accessor :all_instances + alias_method :all_instances?, :all_instances + # The list of URLs of one or more instances for which you want to apply updates. # Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[ # INSTANCE_NAME]. @@ -26657,6 +26672,7 @@ module Google # Update properties of this object def update!(**args) + @all_instances = args[:all_instances] if args.key?(:all_instances) @instances = args[:instances] if args.key?(:instances) @maximal_action = args[:maximal_action] if args.key?(:maximal_action) @minimal_action = args[:minimal_action] if args.key?(:minimal_action) @@ -28076,6 +28092,12 @@ module Google # @return [Fixnum] attr_accessor :id + # An InstanceSchedulePolicy specifies when and how frequent certain operations + # are performed on the instance. + # Corresponds to the JSON property `instanceSchedulePolicy` + # @return [Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicy] + attr_accessor :instance_schedule_policy + # [Output Only] Type of the resource. Always compute#resource_policies for # resource policies. # Corresponds to the JSON property `kind` @@ -28135,6 +28157,7 @@ module Google @description = args[:description] if args.key?(:description) @group_placement_policy = args[:group_placement_policy] if args.key?(:group_placement_policy) @id = args[:id] if args.key?(:id) + @instance_schedule_policy = args[:instance_schedule_policy] if args.key?(:instance_schedule_policy) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @region = args[:region] if args.key?(:region) @@ -28390,6 +28413,59 @@ module Google end end + # An InstanceSchedulePolicy specifies when and how frequent certain operations + # are performed on the instance. + class ResourcePolicyInstanceSchedulePolicy + include Google::Apis::Core::Hashable + + # Schedule for the instance operation. + # Corresponds to the JSON property `vmStartSchedule` + # @return [Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicySchedule] + attr_accessor :vm_start_schedule + + # Schedule for the instance operation. + # Corresponds to the JSON property `vmStopSchedule` + # @return [Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicySchedule] + attr_accessor :vm_stop_schedule + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @vm_start_schedule = args[:vm_start_schedule] if args.key?(:vm_start_schedule) + @vm_stop_schedule = args[:vm_stop_schedule] if args.key?(:vm_stop_schedule) + end + end + + # Schedule for the instance operation. + class ResourcePolicyInstanceSchedulePolicySchedule + include Google::Apis::Core::Hashable + + # Specifies the frequency for the operation, using the unix-cron format. + # Corresponds to the JSON property `schedule` + # @return [String] + attr_accessor :schedule + + # Specifies the time zone to be used in interpreting Schedule.schedule. The + # value of this field must be a time zone name from the tz database: http://en. + # wikipedia.org/wiki/Tz_database. + # Corresponds to the JSON property `timeZone` + # @return [String] + attr_accessor :time_zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @schedule = args[:schedule] if args.key?(:schedule) + @time_zone = args[:time_zone] if args.key?(:time_zone) + end + end + # class ResourcePolicyList include Google::Apis::Core::Hashable @@ -28616,6 +28692,11 @@ module Google class ResourcePolicySnapshotSchedulePolicySnapshotProperties include Google::Apis::Core::Hashable + # Chain name that the snapshot is created in. + # Corresponds to the JSON property `chainName` + # @return [String] + attr_accessor :chain_name + # Indication to perform a 'guest aware' snapshot. # Corresponds to the JSON property `guestFlush` # @return [Boolean] @@ -28640,6 +28721,7 @@ module Google # Update properties of this object def update!(**args) + @chain_name = args[:chain_name] if args.key?(:chain_name) @guest_flush = args[:guest_flush] if args.key?(:guest_flush) @labels = args[:labels] if args.key?(:labels) @storage_locations = args[:storage_locations] if args.key?(:storage_locations) @@ -32235,6 +32317,11 @@ module Google attr_accessor :auto_created alias_method :auto_created?, :auto_created + # Chain name should conform to RFC1035. + # Corresponds to the JSON property `chainName` + # @return [String] + attr_accessor :chain_name + # [Output Only] Creation timestamp in RFC3339 text format. # Corresponds to the JSON property `creationTimestamp` # @return [String] @@ -32381,6 +32468,7 @@ module Google # Update properties of this object def update!(**args) @auto_created = args[:auto_created] if args.key?(:auto_created) + @chain_name = args[:chain_name] if args.key?(:chain_name) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) diff --git a/generated/google/apis/compute_alpha/representations.rb b/generated/google/apis/compute_alpha/representations.rb index 495f5fc18..169b9b77b 100644 --- a/generated/google/apis/compute_alpha/representations.rb +++ b/generated/google/apis/compute_alpha/representations.rb @@ -3730,6 +3730,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ResourcePolicyInstanceSchedulePolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResourcePolicyInstanceSchedulePolicySchedule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ResourcePolicyList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -8487,6 +8499,7 @@ module Google class InstanceGroupManagersApplyUpdatesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :all_instances, as: 'allInstances' collection :instances, as: 'instances' property :maximal_action, as: 'maximalAction' property :minimal_action, as: 'minimalAction' @@ -11881,6 +11894,7 @@ module Google class RegionInstanceGroupManagersApplyUpdatesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :all_instances, as: 'allInstances' collection :instances, as: 'instances' property :maximal_action, as: 'maximalAction' property :minimal_action, as: 'minimalAction' @@ -12282,6 +12296,8 @@ module Google property :group_placement_policy, as: 'groupPlacementPolicy', class: Google::Apis::ComputeAlpha::ResourcePolicyGroupPlacementPolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicyGroupPlacementPolicy::Representation property :id, :numeric_string => true, as: 'id' + property :instance_schedule_policy, as: 'instanceSchedulePolicy', class: Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicy::Representation + property :kind, as: 'kind' property :name, as: 'name' property :region, as: 'region' @@ -12358,6 +12374,24 @@ module Google end end + class ResourcePolicyInstanceSchedulePolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :vm_start_schedule, as: 'vmStartSchedule', class: Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicySchedule, decorator: Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicySchedule::Representation + + property :vm_stop_schedule, as: 'vmStopSchedule', class: Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicySchedule, decorator: Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicySchedule::Representation + + end + end + + class ResourcePolicyInstanceSchedulePolicySchedule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :schedule, as: 'schedule' + property :time_zone, as: 'timeZone' + end + end + class ResourcePolicyList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -12427,6 +12461,7 @@ module Google class ResourcePolicySnapshotSchedulePolicySnapshotProperties # @private class Representation < Google::Apis::Core::JsonRepresentation + property :chain_name, as: 'chainName' property :guest_flush, as: 'guestFlush' hash :labels, as: 'labels' collection :storage_locations, as: 'storageLocations' @@ -13306,6 +13341,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :auto_created, as: 'autoCreated' + property :chain_name, as: 'chainName' property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb' diff --git a/generated/google/apis/compute_beta.rb b/generated/google/apis/compute_beta.rb index 93a4e4fce..adcdefd9b 100644 --- a/generated/google/apis/compute_beta.rb +++ b/generated/google/apis/compute_beta.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeBeta VERSION = 'Beta' - REVISION = '20200511' + REVISION = '20200515' # 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/compute_beta/classes.rb b/generated/google/apis/compute_beta/classes.rb index 1a3bb7881..499c0bf31 100644 --- a/generated/google/apis/compute_beta/classes.rb +++ b/generated/google/apis/compute_beta/classes.rb @@ -4931,9 +4931,9 @@ module Google attr_accessor :options # Physical block size of the persistent disk, in bytes. If not present in a - # request, a default value is used. Currently supported sizes are 4096 and 16384, - # other sizes may be added in the future. If an unsupported value is requested, - # the error message will list the supported values for the caller's project. + # request, a default value is used. The currently supported size is 4096, other + # sizes may be added in the future. If an unsupported value is requested, the + # error message will list the supported values for the caller's project. # Corresponds to the JSON property `physicalBlockSizeBytes` # @return [Fixnum] attr_accessor :physical_block_size_bytes @@ -25369,6 +25369,11 @@ module Google class ResourcePolicySnapshotSchedulePolicySnapshotProperties include Google::Apis::Core::Hashable + # Chain name that the snapshot is created in. + # Corresponds to the JSON property `chainName` + # @return [String] + attr_accessor :chain_name + # Indication to perform a 'guest aware' snapshot. # Corresponds to the JSON property `guestFlush` # @return [Boolean] @@ -25393,6 +25398,7 @@ module Google # Update properties of this object def update!(**args) + @chain_name = args[:chain_name] if args.key?(:chain_name) @guest_flush = args[:guest_flush] if args.key?(:guest_flush) @labels = args[:labels] if args.key?(:labels) @storage_locations = args[:storage_locations] if args.key?(:storage_locations) @@ -28291,6 +28297,11 @@ module Google attr_accessor :auto_created alias_method :auto_created?, :auto_created + # Chain name should conform to RFC1035. + # Corresponds to the JSON property `chainName` + # @return [String] + attr_accessor :chain_name + # [Output Only] Creation timestamp in RFC3339 text format. # Corresponds to the JSON property `creationTimestamp` # @return [String] @@ -28425,6 +28436,7 @@ module Google # Update properties of this object def update!(**args) @auto_created = args[:auto_created] if args.key?(:auto_created) + @chain_name = args[:chain_name] if args.key?(:chain_name) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) diff --git a/generated/google/apis/compute_beta/representations.rb b/generated/google/apis/compute_beta/representations.rb index df06d1966..cc7ab69cc 100644 --- a/generated/google/apis/compute_beta/representations.rb +++ b/generated/google/apis/compute_beta/representations.rb @@ -11165,6 +11165,7 @@ module Google class ResourcePolicySnapshotSchedulePolicySnapshotProperties # @private class Representation < Google::Apis::Core::JsonRepresentation + property :chain_name, as: 'chainName' property :guest_flush, as: 'guestFlush' hash :labels, as: 'labels' collection :storage_locations, as: 'storageLocations' @@ -11872,6 +11873,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :auto_created, as: 'autoCreated' + property :chain_name, as: 'chainName' property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb' diff --git a/generated/google/apis/compute_v1.rb b/generated/google/apis/compute_v1.rb index b16ef7b53..6dbbce3cb 100644 --- a/generated/google/apis/compute_v1.rb +++ b/generated/google/apis/compute_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeV1 VERSION = 'V1' - REVISION = '20200511' + REVISION = '20200515' # 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/compute_v1/classes.rb b/generated/google/apis/compute_v1/classes.rb index a6a6819ed..087638c6b 100644 --- a/generated/google/apis/compute_v1/classes.rb +++ b/generated/google/apis/compute_v1/classes.rb @@ -4493,9 +4493,9 @@ module Google attr_accessor :options # Physical block size of the persistent disk, in bytes. If not present in a - # request, a default value is used. Currently supported sizes are 4096 and 16384, - # other sizes may be added in the future. If an unsupported value is requested, - # the error message will list the supported values for the caller's project. + # request, a default value is used. The currently supported size is 4096, other + # sizes may be added in the future. If an unsupported value is requested, the + # error message will list the supported values for the caller's project. # Corresponds to the JSON property `physicalBlockSizeBytes` # @return [Fixnum] attr_accessor :physical_block_size_bytes diff --git a/generated/google/apis/groupsmigration_v1.rb b/generated/google/apis/groupsmigration_v1.rb index 5aa2ead2e..97fb8df34 100644 --- a/generated/google/apis/groupsmigration_v1.rb +++ b/generated/google/apis/groupsmigration_v1.rb @@ -20,12 +20,13 @@ module Google module Apis # Groups Migration API # - # Groups Migration Api. + # The Groups Migration API allows domain administrators to archive + # emails into Google groups. # # @see https://developers.google.com/google-apps/groups-migration/ module GroupsmigrationV1 VERSION = 'V1' - REVISION = '20180803' + REVISION = '20200608' # Manage messages in groups on your domain AUTH_APPS_GROUPS_MIGRATION = 'https://www.googleapis.com/auth/apps.groups.migration' diff --git a/generated/google/apis/groupsmigration_v1/service.rb b/generated/google/apis/groupsmigration_v1/service.rb index 8ad285a39..889d5514a 100644 --- a/generated/google/apis/groupsmigration_v1/service.rb +++ b/generated/google/apis/groupsmigration_v1/service.rb @@ -22,7 +22,8 @@ module Google module GroupsmigrationV1 # Groups Migration API # - # Groups Migration Api. + # The Groups Migration API allows domain administrators to archive + # emails into Google groups. # # @example # require 'google/apis/groupsmigration_v1' @@ -38,16 +39,12 @@ module Google attr_accessor :key # @return [String] - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. + # 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. attr_accessor :quota_user - # @return [String] - # Deprecated. Please use quotaUser instead. - attr_accessor :user_ip - def initialize - super('https://www.googleapis.com/', 'groups/v1/groups/') + super('https://www.googleapis.com/', '') @batch_path = 'batch/groupsmigration/v1' end @@ -57,10 +54,8 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. + # 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 [IO, String] upload_source # IO stream or filename containing content to upload # @param [String] content_type @@ -77,11 +72,11 @@ module Google # @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 insert_archive(group_id, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) + def insert_archive(group_id, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? - command = make_simple_command(:post, '{groupId}/archive', options) + command = make_simple_command(:post, 'groups/v1/groups/{groupId}/archive', options) else - command = make_upload_command(:post, '{groupId}/archive', options) + command = make_upload_command(:post, 'groups/v1/groups/{groupId}/archive', options) command.upload_source = upload_source command.upload_content_type = content_type end @@ -90,7 +85,6 @@ module Google command.params['groupId'] = group_id unless group_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -99,7 +93,6 @@ module Google def apply_command_defaults(command) command.query['key'] = key unless key.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? end end end diff --git a/generated/google/apis/jobs_v3.rb b/generated/google/apis/jobs_v3.rb index 4206df49e..38206aa8c 100644 --- a/generated/google/apis/jobs_v3.rb +++ b/generated/google/apis/jobs_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/talent-solution/job-search/docs/ module JobsV3 VERSION = 'V3' - REVISION = '20200506' + REVISION = '20200604' # 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/jobs_v3/classes.rb b/generated/google/apis/jobs_v3/classes.rb index 4e444d113..fd1710b7a 100644 --- a/generated/google/apis/jobs_v3/classes.rb +++ b/generated/google/apis/jobs_v3/classes.rb @@ -808,8 +808,10 @@ module Google class CustomAttribute include Google::Apis::Core::Hashable - # Optional. If the `filterable` flag is true, custom field values are searchable. - # If false, values are not searchable. + # Optional. If the `filterable` flag is true, the custom field values may be + # used for + # custom attribute filters JobQuery.custom_attribute_filter. + # If false, these values may not be used for custom attribute filters. # Default is false. # Corresponds to the JSON property `filterable` # @return [Boolean] diff --git a/generated/google/apis/jobs_v3p1beta1.rb b/generated/google/apis/jobs_v3p1beta1.rb index dbf525963..06544e190 100644 --- a/generated/google/apis/jobs_v3p1beta1.rb +++ b/generated/google/apis/jobs_v3p1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/talent-solution/job-search/docs/ module JobsV3p1beta1 VERSION = 'V3p1beta1' - REVISION = '20200506' + REVISION = '20200604' # 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/jobs_v3p1beta1/classes.rb b/generated/google/apis/jobs_v3p1beta1/classes.rb index e10a88fd2..b373da87d 100644 --- a/generated/google/apis/jobs_v3p1beta1/classes.rb +++ b/generated/google/apis/jobs_v3p1beta1/classes.rb @@ -808,8 +808,10 @@ module Google class CustomAttribute include Google::Apis::Core::Hashable - # Optional. If the `filterable` flag is true, custom field values are searchable. - # If false, values are not searchable. + # Optional. If the `filterable` flag is true, the custom field values may be + # used for + # custom attribute filters JobQuery.custom_attribute_filter. + # If false, these values may not be used for custom attribute filters. # Default is false. # Corresponds to the JSON property `filterable` # @return [Boolean] diff --git a/generated/google/apis/pubsub_v1.rb b/generated/google/apis/pubsub_v1.rb index 95667ca73..d4c22011d 100644 --- a/generated/google/apis/pubsub_v1.rb +++ b/generated/google/apis/pubsub_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/pubsub/docs module PubsubV1 VERSION = 'V1' - REVISION = '20200525' + REVISION = '20200603' # 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/pubsub_v1/classes.rb b/generated/google/apis/pubsub_v1/classes.rb index 8627cc038..ee907d7c0 100644 --- a/generated/google/apis/pubsub_v1/classes.rb +++ b/generated/google/apis/pubsub_v1/classes.rb @@ -457,7 +457,7 @@ module Google end end - # + # A policy constraining the storage of messages published to the topic. class MessageStoragePolicy include Google::Apis::Core::Hashable @@ -937,6 +937,40 @@ module Google end end + # A policy that specifies how Cloud Pub/Sub retries message delivery. + # Retry delay will be exponential based on provided minimum and maximum + # backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. + # RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded + # events for a given message. + # Retry Policy is implemented on a best effort basis. At times, the delay + # between consecutive deliveries may not match the configuration. That is, + # delay can be more or less than configured backoff. + class RetryPolicy + include Google::Apis::Core::Hashable + + # The maximum delay between consecutive deliveries of a given message. + # Value should be between 0 and 600 seconds. Defaults to 600 seconds. + # Corresponds to the JSON property `maximumBackoff` + # @return [String] + attr_accessor :maximum_backoff + + # The minimum delay between consecutive deliveries of a given message. + # Value should be between 0 and 600 seconds. Defaults to 10 seconds. + # Corresponds to the JSON property `minimumBackoff` + # @return [String] + attr_accessor :minimum_backoff + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @maximum_backoff = args[:maximum_backoff] if args.key?(:maximum_backoff) + @minimum_backoff = args[:minimum_backoff] if args.key?(:minimum_backoff) + end + end + # Request for the `Seek` method. class SeekRequest include Google::Apis::Core::Hashable @@ -1161,9 +1195,6 @@ module Google # then only `PubsubMessage`s whose `attributes` field matches the filter are # delivered on this subscription. If empty, then no messages are filtered # out. - # EXPERIMENTAL: This feature is part of a closed alpha release. This - # API might be changed in backward-incompatible ways and is not recommended - # for production use. It is not subject to any SLA or deprecation policy. # Corresponds to the JSON property `filter` # @return [String] attr_accessor :filter @@ -1211,6 +1242,18 @@ module Google attr_accessor :retain_acked_messages alias_method :retain_acked_messages?, :retain_acked_messages + # A policy that specifies how Cloud Pub/Sub retries message delivery. + # Retry delay will be exponential based on provided minimum and maximum + # backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. + # RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded + # events for a given message. + # Retry Policy is implemented on a best effort basis. At times, the delay + # between consecutive deliveries may not match the configuration. That is, + # delay can be more or less than configured backoff. + # Corresponds to the JSON property `retryPolicy` + # @return [Google::Apis::PubsubV1::RetryPolicy] + attr_accessor :retry_policy + # Required. The name of the topic from which this subscription is receiving # messages. # Format is `projects/`project`/topics/`topic``. @@ -1235,6 +1278,7 @@ module Google @name = args[:name] if args.key?(:name) @push_config = args[:push_config] if args.key?(:push_config) @retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages) + @retry_policy = args[:retry_policy] if args.key?(:retry_policy) @topic = args[:topic] if args.key?(:topic) end end @@ -1298,9 +1342,7 @@ module Google # @return [Hash] attr_accessor :labels - # Policy constraining the set of Google Cloud Platform regions where messages - # published to the topic may be stored. If not present, then no constraints - # are in effect. + # A policy constraining the storage of messages published to the topic. # Corresponds to the JSON property `messageStoragePolicy` # @return [Google::Apis::PubsubV1::MessageStoragePolicy] attr_accessor :message_storage_policy diff --git a/generated/google/apis/pubsub_v1/representations.rb b/generated/google/apis/pubsub_v1/representations.rb index 94fb7c628..a2c5e8293 100644 --- a/generated/google/apis/pubsub_v1/representations.rb +++ b/generated/google/apis/pubsub_v1/representations.rb @@ -172,6 +172,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class RetryPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SeekRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -445,6 +451,14 @@ module Google end end + class RetryPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :maximum_backoff, as: 'maximumBackoff' + property :minimum_backoff, as: 'minimumBackoff' + end + end + class SeekRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -492,6 +506,8 @@ module Google property :push_config, as: 'pushConfig', class: Google::Apis::PubsubV1::PushConfig, decorator: Google::Apis::PubsubV1::PushConfig::Representation property :retain_acked_messages, as: 'retainAckedMessages' + property :retry_policy, as: 'retryPolicy', class: Google::Apis::PubsubV1::RetryPolicy, decorator: Google::Apis::PubsubV1::RetryPolicy::Representation + property :topic, as: 'topic' end end diff --git a/generated/google/apis/serviceconsumermanagement_v1.rb b/generated/google/apis/serviceconsumermanagement_v1.rb index 4ac367e63..24636f970 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 = '20200609' + REVISION = '20200611' # 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 5b4f98de0..6df4c3382 100644 --- a/generated/google/apis/serviceconsumermanagement_v1/classes.rb +++ b/generated/google/apis/serviceconsumermanagement_v1/classes.rb @@ -2412,41 +2412,56 @@ module Google # for monitoring. In the example, a monitored resource and two metrics are # defined. The `library.googleapis.com/book/returned_count` metric is sent # to both producer and consumer projects, whereas the - # `library.googleapis.com/book/overdue_count` metric is only sent to the + # `library.googleapis.com/book/num_overdue` metric is only sent to the # consumer project. # monitored_resources: - # - type: library.googleapis.com/branch + # - type: library.googleapis.com/Branch + # display_name: "Library Branch" + # description: "A branch of a library." + # launch_stage: GA # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. + # - key: resource_container + # description: "The Cloud container (ie. project id) for the Branch." + # - key: location + # description: "The location of the library branch." + # - key: branch_id + # description: "The id of the branch." # metrics: # - name: library.googleapis.com/book/returned_count + # display_name: "Books Returned" + # description: "The count of books that have been returned." + # launch_stage: GA # metric_kind: DELTA # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id - # - name: library.googleapis.com/book/overdue_count + # - key: customer_id + # description: "The id of the customer." + # - name: library.googleapis.com/book/num_overdue + # display_name: "Books Overdue" + # description: "The current number of overdue books." + # launch_stage: GA # metric_kind: GAUGE # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id + # - key: customer_id + # description: "The id of the customer." # monitoring: # producer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count - # - library.googleapis.com/book/overdue_count + # - library.googleapis.com/book/num_overdue class Monitoring include Google::Apis::Core::Hashable # Monitoring configurations for sending metrics to the consumer project. - # There can be multiple consumer destinations. A monitored resouce type may + # There can be multiple consumer destinations. A monitored resource type may # appear in multiple monitoring destinations if different aggregations are # needed for different sets of metrics associated with that monitored # resource type. A monitored resource and metric pair may only be used once @@ -2456,7 +2471,7 @@ module Google attr_accessor :consumer_destinations # Monitoring configurations for sending metrics to the producer project. - # There can be multiple producer destinations. A monitored resouce type may + # There can be multiple producer destinations. A monitored resource type may # appear in multiple monitoring destinations if different aggregations are # needed for different sets of metrics associated with that monitored # resource type. A monitored resource and metric pair may only be used once @@ -3217,36 +3232,51 @@ module Google # for monitoring. In the example, a monitored resource and two metrics are # defined. The `library.googleapis.com/book/returned_count` metric is sent # to both producer and consumer projects, whereas the - # `library.googleapis.com/book/overdue_count` metric is only sent to the + # `library.googleapis.com/book/num_overdue` metric is only sent to the # consumer project. # monitored_resources: - # - type: library.googleapis.com/branch + # - type: library.googleapis.com/Branch + # display_name: "Library Branch" + # description: "A branch of a library." + # launch_stage: GA # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. + # - key: resource_container + # description: "The Cloud container (ie. project id) for the Branch." + # - key: location + # description: "The location of the library branch." + # - key: branch_id + # description: "The id of the branch." # metrics: # - name: library.googleapis.com/book/returned_count + # display_name: "Books Returned" + # description: "The count of books that have been returned." + # launch_stage: GA # metric_kind: DELTA # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id - # - name: library.googleapis.com/book/overdue_count + # - key: customer_id + # description: "The id of the customer." + # - name: library.googleapis.com/book/num_overdue + # display_name: "Books Overdue" + # description: "The current number of overdue books." + # launch_stage: GA # metric_kind: GAUGE # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id + # - key: customer_id + # description: "The id of the customer." # monitoring: # producer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count - # - library.googleapis.com/book/overdue_count + # - library.googleapis.com/book/num_overdue # Corresponds to the JSON property `monitoring` # @return [Google::Apis::ServiceconsumermanagementV1::Monitoring] attr_accessor :monitoring diff --git a/generated/google/apis/serviceconsumermanagement_v1beta1.rb b/generated/google/apis/serviceconsumermanagement_v1beta1.rb index 8ef88e902..dad26c719 100644 --- a/generated/google/apis/serviceconsumermanagement_v1beta1.rb +++ b/generated/google/apis/serviceconsumermanagement_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/service-consumer-management/docs/overview module ServiceconsumermanagementV1beta1 VERSION = 'V1beta1' - REVISION = '20200609' + REVISION = '20200611' # 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_v1beta1/classes.rb b/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb index d67afa86a..b01e44573 100644 --- a/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +++ b/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb @@ -2190,41 +2190,56 @@ module Google # for monitoring. In the example, a monitored resource and two metrics are # defined. The `library.googleapis.com/book/returned_count` metric is sent # to both producer and consumer projects, whereas the - # `library.googleapis.com/book/overdue_count` metric is only sent to the + # `library.googleapis.com/book/num_overdue` metric is only sent to the # consumer project. # monitored_resources: - # - type: library.googleapis.com/branch + # - type: library.googleapis.com/Branch + # display_name: "Library Branch" + # description: "A branch of a library." + # launch_stage: GA # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. + # - key: resource_container + # description: "The Cloud container (ie. project id) for the Branch." + # - key: location + # description: "The location of the library branch." + # - key: branch_id + # description: "The id of the branch." # metrics: # - name: library.googleapis.com/book/returned_count + # display_name: "Books Returned" + # description: "The count of books that have been returned." + # launch_stage: GA # metric_kind: DELTA # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id - # - name: library.googleapis.com/book/overdue_count + # - key: customer_id + # description: "The id of the customer." + # - name: library.googleapis.com/book/num_overdue + # display_name: "Books Overdue" + # description: "The current number of overdue books." + # launch_stage: GA # metric_kind: GAUGE # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id + # - key: customer_id + # description: "The id of the customer." # monitoring: # producer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count - # - library.googleapis.com/book/overdue_count + # - library.googleapis.com/book/num_overdue class Monitoring include Google::Apis::Core::Hashable # Monitoring configurations for sending metrics to the consumer project. - # There can be multiple consumer destinations. A monitored resouce type may + # There can be multiple consumer destinations. A monitored resource type may # appear in multiple monitoring destinations if different aggregations are # needed for different sets of metrics associated with that monitored # resource type. A monitored resource and metric pair may only be used once @@ -2234,7 +2249,7 @@ module Google attr_accessor :consumer_destinations # Monitoring configurations for sending metrics to the producer project. - # There can be multiple producer destinations. A monitored resouce type may + # There can be multiple producer destinations. A monitored resource type may # appear in multiple monitoring destinations if different aggregations are # needed for different sets of metrics associated with that monitored # resource type. A monitored resource and metric pair may only be used once @@ -2923,36 +2938,51 @@ module Google # for monitoring. In the example, a monitored resource and two metrics are # defined. The `library.googleapis.com/book/returned_count` metric is sent # to both producer and consumer projects, whereas the - # `library.googleapis.com/book/overdue_count` metric is only sent to the + # `library.googleapis.com/book/num_overdue` metric is only sent to the # consumer project. # monitored_resources: - # - type: library.googleapis.com/branch + # - type: library.googleapis.com/Branch + # display_name: "Library Branch" + # description: "A branch of a library." + # launch_stage: GA # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. + # - key: resource_container + # description: "The Cloud container (ie. project id) for the Branch." + # - key: location + # description: "The location of the library branch." + # - key: branch_id + # description: "The id of the branch." # metrics: # - name: library.googleapis.com/book/returned_count + # display_name: "Books Returned" + # description: "The count of books that have been returned." + # launch_stage: GA # metric_kind: DELTA # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id - # - name: library.googleapis.com/book/overdue_count + # - key: customer_id + # description: "The id of the customer." + # - name: library.googleapis.com/book/num_overdue + # display_name: "Books Overdue" + # description: "The current number of overdue books." + # launch_stage: GA # metric_kind: GAUGE # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id + # - key: customer_id + # description: "The id of the customer." # monitoring: # producer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count - # - library.googleapis.com/book/overdue_count + # - library.googleapis.com/book/num_overdue # Corresponds to the JSON property `monitoring` # @return [Google::Apis::ServiceconsumermanagementV1beta1::Monitoring] attr_accessor :monitoring diff --git a/generated/google/apis/servicenetworking_v1.rb b/generated/google/apis/servicenetworking_v1.rb index 00e04a85b..25e4de67f 100644 --- a/generated/google/apis/servicenetworking_v1.rb +++ b/generated/google/apis/servicenetworking_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started module ServicenetworkingV1 VERSION = 'V1' - REVISION = '20200609' + REVISION = '20200611' # 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_v1/classes.rb b/generated/google/apis/servicenetworking_v1/classes.rb index 4dcba22c0..37f81629b 100644 --- a/generated/google/apis/servicenetworking_v1/classes.rb +++ b/generated/google/apis/servicenetworking_v1/classes.rb @@ -2763,41 +2763,56 @@ module Google # for monitoring. In the example, a monitored resource and two metrics are # defined. The `library.googleapis.com/book/returned_count` metric is sent # to both producer and consumer projects, whereas the - # `library.googleapis.com/book/overdue_count` metric is only sent to the + # `library.googleapis.com/book/num_overdue` metric is only sent to the # consumer project. # monitored_resources: - # - type: library.googleapis.com/branch + # - type: library.googleapis.com/Branch + # display_name: "Library Branch" + # description: "A branch of a library." + # launch_stage: GA # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. + # - key: resource_container + # description: "The Cloud container (ie. project id) for the Branch." + # - key: location + # description: "The location of the library branch." + # - key: branch_id + # description: "The id of the branch." # metrics: # - name: library.googleapis.com/book/returned_count + # display_name: "Books Returned" + # description: "The count of books that have been returned." + # launch_stage: GA # metric_kind: DELTA # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id - # - name: library.googleapis.com/book/overdue_count + # - key: customer_id + # description: "The id of the customer." + # - name: library.googleapis.com/book/num_overdue + # display_name: "Books Overdue" + # description: "The current number of overdue books." + # launch_stage: GA # metric_kind: GAUGE # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id + # - key: customer_id + # description: "The id of the customer." # monitoring: # producer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count - # - library.googleapis.com/book/overdue_count + # - library.googleapis.com/book/num_overdue class Monitoring include Google::Apis::Core::Hashable # Monitoring configurations for sending metrics to the consumer project. - # There can be multiple consumer destinations. A monitored resouce type may + # There can be multiple consumer destinations. A monitored resource type may # appear in multiple monitoring destinations if different aggregations are # needed for different sets of metrics associated with that monitored # resource type. A monitored resource and metric pair may only be used once @@ -2807,7 +2822,7 @@ module Google attr_accessor :consumer_destinations # Monitoring configurations for sending metrics to the producer project. - # There can be multiple producer destinations. A monitored resouce type may + # There can be multiple producer destinations. A monitored resource type may # appear in multiple monitoring destinations if different aggregations are # needed for different sets of metrics associated with that monitored # resource type. A monitored resource and metric pair may only be used once @@ -3051,6 +3066,7 @@ module Google # granularity. The role must be one of the following: # - 'roles/container.hostServiceAgentUser' applied on the shared VPC host # project + # - 'roles/compute.securityAdmin' applied on the shared VPC host project # Corresponds to the JSON property `role` # @return [String] attr_accessor :role @@ -3786,36 +3802,51 @@ module Google # for monitoring. In the example, a monitored resource and two metrics are # defined. The `library.googleapis.com/book/returned_count` metric is sent # to both producer and consumer projects, whereas the - # `library.googleapis.com/book/overdue_count` metric is only sent to the + # `library.googleapis.com/book/num_overdue` metric is only sent to the # consumer project. # monitored_resources: - # - type: library.googleapis.com/branch + # - type: library.googleapis.com/Branch + # display_name: "Library Branch" + # description: "A branch of a library." + # launch_stage: GA # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. + # - key: resource_container + # description: "The Cloud container (ie. project id) for the Branch." + # - key: location + # description: "The location of the library branch." + # - key: branch_id + # description: "The id of the branch." # metrics: # - name: library.googleapis.com/book/returned_count + # display_name: "Books Returned" + # description: "The count of books that have been returned." + # launch_stage: GA # metric_kind: DELTA # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id - # - name: library.googleapis.com/book/overdue_count + # - key: customer_id + # description: "The id of the customer." + # - name: library.googleapis.com/book/num_overdue + # display_name: "Books Overdue" + # description: "The current number of overdue books." + # launch_stage: GA # metric_kind: GAUGE # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id + # - key: customer_id + # description: "The id of the customer." # monitoring: # producer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count - # - library.googleapis.com/book/overdue_count + # - library.googleapis.com/book/num_overdue # Corresponds to the JSON property `monitoring` # @return [Google::Apis::ServicenetworkingV1::Monitoring] attr_accessor :monitoring diff --git a/generated/google/apis/servicenetworking_v1beta.rb b/generated/google/apis/servicenetworking_v1beta.rb index ec7a40acc..0c08d0ac3 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 = '20200609' + REVISION = '20200611' # 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 479db0613..ffb6d5919 100644 --- a/generated/google/apis/servicenetworking_v1beta/classes.rb +++ b/generated/google/apis/servicenetworking_v1beta/classes.rb @@ -2521,41 +2521,56 @@ module Google # for monitoring. In the example, a monitored resource and two metrics are # defined. The `library.googleapis.com/book/returned_count` metric is sent # to both producer and consumer projects, whereas the - # `library.googleapis.com/book/overdue_count` metric is only sent to the + # `library.googleapis.com/book/num_overdue` metric is only sent to the # consumer project. # monitored_resources: - # - type: library.googleapis.com/branch + # - type: library.googleapis.com/Branch + # display_name: "Library Branch" + # description: "A branch of a library." + # launch_stage: GA # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. + # - key: resource_container + # description: "The Cloud container (ie. project id) for the Branch." + # - key: location + # description: "The location of the library branch." + # - key: branch_id + # description: "The id of the branch." # metrics: # - name: library.googleapis.com/book/returned_count + # display_name: "Books Returned" + # description: "The count of books that have been returned." + # launch_stage: GA # metric_kind: DELTA # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id - # - name: library.googleapis.com/book/overdue_count + # - key: customer_id + # description: "The id of the customer." + # - name: library.googleapis.com/book/num_overdue + # display_name: "Books Overdue" + # description: "The current number of overdue books." + # launch_stage: GA # metric_kind: GAUGE # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id + # - key: customer_id + # description: "The id of the customer." # monitoring: # producer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count - # - library.googleapis.com/book/overdue_count + # - library.googleapis.com/book/num_overdue class Monitoring include Google::Apis::Core::Hashable # Monitoring configurations for sending metrics to the consumer project. - # There can be multiple consumer destinations. A monitored resouce type may + # There can be multiple consumer destinations. A monitored resource type may # appear in multiple monitoring destinations if different aggregations are # needed for different sets of metrics associated with that monitored # resource type. A monitored resource and metric pair may only be used once @@ -2565,7 +2580,7 @@ module Google attr_accessor :consumer_destinations # Monitoring configurations for sending metrics to the producer project. - # There can be multiple producer destinations. A monitored resouce type may + # There can be multiple producer destinations. A monitored resource type may # appear in multiple monitoring destinations if different aggregations are # needed for different sets of metrics associated with that monitored # resource type. A monitored resource and metric pair may only be used once @@ -2809,6 +2824,7 @@ module Google # granularity. The role must be one of the following: # - 'roles/container.hostServiceAgentUser' applied on the shared VPC host # project + # - 'roles/compute.securityAdmin' applied on the shared VPC host project # Corresponds to the JSON property `role` # @return [String] attr_accessor :role @@ -3444,36 +3460,51 @@ module Google # for monitoring. In the example, a monitored resource and two metrics are # defined. The `library.googleapis.com/book/returned_count` metric is sent # to both producer and consumer projects, whereas the - # `library.googleapis.com/book/overdue_count` metric is only sent to the + # `library.googleapis.com/book/num_overdue` metric is only sent to the # consumer project. # monitored_resources: - # - type: library.googleapis.com/branch + # - type: library.googleapis.com/Branch + # display_name: "Library Branch" + # description: "A branch of a library." + # launch_stage: GA # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. + # - key: resource_container + # description: "The Cloud container (ie. project id) for the Branch." + # - key: location + # description: "The location of the library branch." + # - key: branch_id + # description: "The id of the branch." # metrics: # - name: library.googleapis.com/book/returned_count + # display_name: "Books Returned" + # description: "The count of books that have been returned." + # launch_stage: GA # metric_kind: DELTA # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id - # - name: library.googleapis.com/book/overdue_count + # - key: customer_id + # description: "The id of the customer." + # - name: library.googleapis.com/book/num_overdue + # display_name: "Books Overdue" + # description: "The current number of overdue books." + # launch_stage: GA # metric_kind: GAUGE # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id + # - key: customer_id + # description: "The id of the customer." # monitoring: # producer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count - # - library.googleapis.com/book/overdue_count + # - library.googleapis.com/book/num_overdue # Corresponds to the JSON property `monitoring` # @return [Google::Apis::ServicenetworkingV1beta::Monitoring] attr_accessor :monitoring diff --git a/generated/google/apis/serviceusage_v1.rb b/generated/google/apis/serviceusage_v1.rb index 428491bca..e120771f4 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 = '20200609' + REVISION = '20200611' # 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 a216fb4a0..969b316c8 100644 --- a/generated/google/apis/serviceusage_v1/classes.rb +++ b/generated/google/apis/serviceusage_v1/classes.rb @@ -56,7 +56,7 @@ module Google # This name is generated by the server when the policy is created. # Example names would be: # `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/ - # compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminPolicies/ + # compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminQuotaPolicies/ # 4a3f2c1d` # Corresponds to the JSON property `name` # @return [String] @@ -1738,36 +1738,51 @@ module Google # for monitoring. In the example, a monitored resource and two metrics are # defined. The `library.googleapis.com/book/returned_count` metric is sent # to both producer and consumer projects, whereas the - # `library.googleapis.com/book/overdue_count` metric is only sent to the + # `library.googleapis.com/book/num_overdue` metric is only sent to the # consumer project. # monitored_resources: - # - type: library.googleapis.com/branch + # - type: library.googleapis.com/Branch + # display_name: "Library Branch" + # description: "A branch of a library." + # launch_stage: GA # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. + # - key: resource_container + # description: "The Cloud container (ie. project id) for the Branch." + # - key: location + # description: "The location of the library branch." + # - key: branch_id + # description: "The id of the branch." # metrics: # - name: library.googleapis.com/book/returned_count + # display_name: "Books Returned" + # description: "The count of books that have been returned." + # launch_stage: GA # metric_kind: DELTA # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id - # - name: library.googleapis.com/book/overdue_count + # - key: customer_id + # description: "The id of the customer." + # - name: library.googleapis.com/book/num_overdue + # display_name: "Books Overdue" + # description: "The current number of overdue books." + # launch_stage: GA # metric_kind: GAUGE # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id + # - key: customer_id + # description: "The id of the customer." # monitoring: # producer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count - # - library.googleapis.com/book/overdue_count + # - library.googleapis.com/book/num_overdue # Corresponds to the JSON property `monitoring` # @return [Google::Apis::ServiceusageV1::Monitoring] attr_accessor :monitoring @@ -3399,41 +3414,56 @@ module Google # for monitoring. In the example, a monitored resource and two metrics are # defined. The `library.googleapis.com/book/returned_count` metric is sent # to both producer and consumer projects, whereas the - # `library.googleapis.com/book/overdue_count` metric is only sent to the + # `library.googleapis.com/book/num_overdue` metric is only sent to the # consumer project. # monitored_resources: - # - type: library.googleapis.com/branch + # - type: library.googleapis.com/Branch + # display_name: "Library Branch" + # description: "A branch of a library." + # launch_stage: GA # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. + # - key: resource_container + # description: "The Cloud container (ie. project id) for the Branch." + # - key: location + # description: "The location of the library branch." + # - key: branch_id + # description: "The id of the branch." # metrics: # - name: library.googleapis.com/book/returned_count + # display_name: "Books Returned" + # description: "The count of books that have been returned." + # launch_stage: GA # metric_kind: DELTA # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id - # - name: library.googleapis.com/book/overdue_count + # - key: customer_id + # description: "The id of the customer." + # - name: library.googleapis.com/book/num_overdue + # display_name: "Books Overdue" + # description: "The current number of overdue books." + # launch_stage: GA # metric_kind: GAUGE # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id + # - key: customer_id + # description: "The id of the customer." # monitoring: # producer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count - # - library.googleapis.com/book/overdue_count + # - library.googleapis.com/book/num_overdue class Monitoring include Google::Apis::Core::Hashable # Monitoring configurations for sending metrics to the consumer project. - # There can be multiple consumer destinations. A monitored resouce type may + # There can be multiple consumer destinations. A monitored resource type may # appear in multiple monitoring destinations if different aggregations are # needed for different sets of metrics associated with that monitored # resource type. A monitored resource and metric pair may only be used once @@ -3443,7 +3473,7 @@ module Google attr_accessor :consumer_destinations # Monitoring configurations for sending metrics to the producer project. - # There can be multiple producer destinations. A monitored resouce type may + # There can be multiple producer destinations. A monitored resource type may # appear in multiple monitoring destinations if different aggregations are # needed for different sets of metrics associated with that monitored # resource type. A monitored resource and metric pair may only be used once diff --git a/generated/google/apis/serviceusage_v1beta1.rb b/generated/google/apis/serviceusage_v1beta1.rb index 8442c8a54..df7061ce7 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 = '20200609' + REVISION = '20200611' # 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 06f7897e0..00bbafc0f 100644 --- a/generated/google/apis/serviceusage_v1beta1/classes.rb +++ b/generated/google/apis/serviceusage_v1beta1/classes.rb @@ -56,7 +56,7 @@ module Google # This name is generated by the server when the policy is created. # Example names would be: # `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/ - # compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminPolicies/ + # compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminQuotaPolicies/ # 4a3f2c1d` # Corresponds to the JSON property `name` # @return [String] @@ -1813,36 +1813,51 @@ module Google # for monitoring. In the example, a monitored resource and two metrics are # defined. The `library.googleapis.com/book/returned_count` metric is sent # to both producer and consumer projects, whereas the - # `library.googleapis.com/book/overdue_count` metric is only sent to the + # `library.googleapis.com/book/num_overdue` metric is only sent to the # consumer project. # monitored_resources: - # - type: library.googleapis.com/branch + # - type: library.googleapis.com/Branch + # display_name: "Library Branch" + # description: "A branch of a library." + # launch_stage: GA # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. + # - key: resource_container + # description: "The Cloud container (ie. project id) for the Branch." + # - key: location + # description: "The location of the library branch." + # - key: branch_id + # description: "The id of the branch." # metrics: # - name: library.googleapis.com/book/returned_count + # display_name: "Books Returned" + # description: "The count of books that have been returned." + # launch_stage: GA # metric_kind: DELTA # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id - # - name: library.googleapis.com/book/overdue_count + # - key: customer_id + # description: "The id of the customer." + # - name: library.googleapis.com/book/num_overdue + # display_name: "Books Overdue" + # description: "The current number of overdue books." + # launch_stage: GA # metric_kind: GAUGE # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id + # - key: customer_id + # description: "The id of the customer." # monitoring: # producer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count - # - library.googleapis.com/book/overdue_count + # - library.googleapis.com/book/num_overdue # Corresponds to the JSON property `monitoring` # @return [Google::Apis::ServiceusageV1beta1::Monitoring] attr_accessor :monitoring @@ -3552,41 +3567,56 @@ module Google # for monitoring. In the example, a monitored resource and two metrics are # defined. The `library.googleapis.com/book/returned_count` metric is sent # to both producer and consumer projects, whereas the - # `library.googleapis.com/book/overdue_count` metric is only sent to the + # `library.googleapis.com/book/num_overdue` metric is only sent to the # consumer project. # monitored_resources: - # - type: library.googleapis.com/branch + # - type: library.googleapis.com/Branch + # display_name: "Library Branch" + # description: "A branch of a library." + # launch_stage: GA # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. + # - key: resource_container + # description: "The Cloud container (ie. project id) for the Branch." + # - key: location + # description: "The location of the library branch." + # - key: branch_id + # description: "The id of the branch." # metrics: # - name: library.googleapis.com/book/returned_count + # display_name: "Books Returned" + # description: "The count of books that have been returned." + # launch_stage: GA # metric_kind: DELTA # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id - # - name: library.googleapis.com/book/overdue_count + # - key: customer_id + # description: "The id of the customer." + # - name: library.googleapis.com/book/num_overdue + # display_name: "Books Overdue" + # description: "The current number of overdue books." + # launch_stage: GA # metric_kind: GAUGE # value_type: INT64 + # unit: "1" # labels: - # - key: /customer_id + # - key: customer_id + # description: "The id of the customer." # monitoring: # producer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch + # - monitored_resource: library.googleapis.com/Branch # metrics: # - library.googleapis.com/book/returned_count - # - library.googleapis.com/book/overdue_count + # - library.googleapis.com/book/num_overdue class Monitoring include Google::Apis::Core::Hashable # Monitoring configurations for sending metrics to the consumer project. - # There can be multiple consumer destinations. A monitored resouce type may + # There can be multiple consumer destinations. A monitored resource type may # appear in multiple monitoring destinations if different aggregations are # needed for different sets of metrics associated with that monitored # resource type. A monitored resource and metric pair may only be used once @@ -3596,7 +3626,7 @@ module Google attr_accessor :consumer_destinations # Monitoring configurations for sending metrics to the producer project. - # There can be multiple producer destinations. A monitored resouce type may + # There can be multiple producer destinations. A monitored resource type may # appear in multiple monitoring destinations if different aggregations are # needed for different sets of metrics associated with that monitored # resource type. A monitored resource and metric pair may only be used once diff --git a/generated/google/apis/texttospeech_v1.rb b/generated/google/apis/texttospeech_v1.rb index b8a3e682a..bef5961a0 100644 --- a/generated/google/apis/texttospeech_v1.rb +++ b/generated/google/apis/texttospeech_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/text-to-speech/ module TexttospeechV1 VERSION = 'V1' - REVISION = '20200219' + REVISION = '20200605' # 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/texttospeech_v1/classes.rb b/generated/google/apis/texttospeech_v1/classes.rb index a4027b02f..9a8ad2f4c 100644 --- a/generated/google/apis/texttospeech_v1/classes.rb +++ b/generated/google/apis/texttospeech_v1/classes.rb @@ -123,7 +123,7 @@ module Google # The SSML document to be synthesized. The SSML document must be valid # and well-formed. Otherwise the RPC will fail and return # google.rpc.Code.INVALID_ARGUMENT. For more information, see - # [SSML](/speech/text-to-speech/docs/ssml). + # [SSML](https://cloud.google.com/text-to-speech/docs/ssml). # Corresponds to the JSON property `ssml` # @return [String] attr_accessor :ssml diff --git a/generated/google/apis/texttospeech_v1beta1.rb b/generated/google/apis/texttospeech_v1beta1.rb index 85ce357c7..a120509e5 100644 --- a/generated/google/apis/texttospeech_v1beta1.rb +++ b/generated/google/apis/texttospeech_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/text-to-speech/ module TexttospeechV1beta1 VERSION = 'V1beta1' - REVISION = '20200219' + REVISION = '20200605' # 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/texttospeech_v1beta1/classes.rb b/generated/google/apis/texttospeech_v1beta1/classes.rb index ac770122a..afb85b3b0 100644 --- a/generated/google/apis/texttospeech_v1beta1/classes.rb +++ b/generated/google/apis/texttospeech_v1beta1/classes.rb @@ -123,7 +123,7 @@ module Google # The SSML document to be synthesized. The SSML document must be valid # and well-formed. Otherwise the RPC will fail and return # google.rpc.Code.INVALID_ARGUMENT. For more information, see - # [SSML](/speech/text-to-speech/docs/ssml). + # [SSML](https://cloud.google.com/text-to-speech/docs/ssml). # Corresponds to the JSON property `ssml` # @return [String] attr_accessor :ssml