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
This commit is contained in:
Google APIs 2020-06-13 00:38:22 +00:00
parent 17b093316b
commit 2c1e1f5349
33 changed files with 589 additions and 213 deletions

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/ # @see https://developers.google.com/compute/docs/reference/latest/
module ComputeAlpha module ComputeAlpha
VERSION = 'Alpha' VERSION = 'Alpha'
REVISION = '20200511' REVISION = '20200515'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -5433,9 +5433,9 @@ module Google
attr_accessor :options attr_accessor :options
# Physical block size of the persistent disk, in bytes. If not present in a # 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, # request, a default value is used. The currently supported size is 4096, other
# other sizes may be added in the future. If an unsupported value is requested, # sizes may be added in the future. If an unsupported value is requested, the
# the error message will list the supported values for the caller's project. # error message will list the supported values for the caller's project.
# Corresponds to the JSON property `physicalBlockSizeBytes` # Corresponds to the JSON property `physicalBlockSizeBytes`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :physical_block_size_bytes attr_accessor :physical_block_size_bytes
@ -13464,6 +13464,13 @@ module Google
class InstanceGroupManagersApplyUpdatesRequest class InstanceGroupManagersApplyUpdatesRequest
include Google::Apis::Core::Hashable 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. # 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/[ # Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[
# INSTANCE_NAME]. # INSTANCE_NAME].
@ -13507,6 +13514,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@all_instances = args[:all_instances] if args.key?(:all_instances)
@instances = args[:instances] if args.key?(:instances) @instances = args[:instances] if args.key?(:instances)
@maximal_action = args[:maximal_action] if args.key?(:maximal_action) @maximal_action = args[:maximal_action] if args.key?(:maximal_action)
@minimal_action = args[:minimal_action] if args.key?(:minimal_action) @minimal_action = args[:minimal_action] if args.key?(:minimal_action)
@ -26614,6 +26622,13 @@ module Google
class RegionInstanceGroupManagersApplyUpdatesRequest class RegionInstanceGroupManagersApplyUpdatesRequest
include Google::Apis::Core::Hashable 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. # 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/[ # Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[
# INSTANCE_NAME]. # INSTANCE_NAME].
@ -26657,6 +26672,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@all_instances = args[:all_instances] if args.key?(:all_instances)
@instances = args[:instances] if args.key?(:instances) @instances = args[:instances] if args.key?(:instances)
@maximal_action = args[:maximal_action] if args.key?(:maximal_action) @maximal_action = args[:maximal_action] if args.key?(:maximal_action)
@minimal_action = args[:minimal_action] if args.key?(:minimal_action) @minimal_action = args[:minimal_action] if args.key?(:minimal_action)
@ -28076,6 +28092,12 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :id 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 # [Output Only] Type of the resource. Always compute#resource_policies for
# resource policies. # resource policies.
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
@ -28135,6 +28157,7 @@ module Google
@description = args[:description] if args.key?(:description) @description = args[:description] if args.key?(:description)
@group_placement_policy = args[:group_placement_policy] if args.key?(:group_placement_policy) @group_placement_policy = args[:group_placement_policy] if args.key?(:group_placement_policy)
@id = args[:id] if args.key?(:id) @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) @kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@region = args[:region] if args.key?(:region) @region = args[:region] if args.key?(:region)
@ -28390,6 +28413,59 @@ module Google
end end
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 class ResourcePolicyList
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -28616,6 +28692,11 @@ module Google
class ResourcePolicySnapshotSchedulePolicySnapshotProperties class ResourcePolicySnapshotSchedulePolicySnapshotProperties
include Google::Apis::Core::Hashable 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. # Indication to perform a 'guest aware' snapshot.
# Corresponds to the JSON property `guestFlush` # Corresponds to the JSON property `guestFlush`
# @return [Boolean] # @return [Boolean]
@ -28640,6 +28721,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@chain_name = args[:chain_name] if args.key?(:chain_name)
@guest_flush = args[:guest_flush] if args.key?(:guest_flush) @guest_flush = args[:guest_flush] if args.key?(:guest_flush)
@labels = args[:labels] if args.key?(:labels) @labels = args[:labels] if args.key?(:labels)
@storage_locations = args[:storage_locations] if args.key?(:storage_locations) @storage_locations = args[:storage_locations] if args.key?(:storage_locations)
@ -32235,6 +32317,11 @@ module Google
attr_accessor :auto_created attr_accessor :auto_created
alias_method :auto_created?, :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. # [Output Only] Creation timestamp in RFC3339 text format.
# Corresponds to the JSON property `creationTimestamp` # Corresponds to the JSON property `creationTimestamp`
# @return [String] # @return [String]
@ -32381,6 +32468,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@auto_created = args[:auto_created] if args.key?(:auto_created) @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) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description) @description = args[:description] if args.key?(:description)
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)

View File

@ -3730,6 +3730,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end 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 ResourcePolicyList
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -8487,6 +8499,7 @@ module Google
class InstanceGroupManagersApplyUpdatesRequest class InstanceGroupManagersApplyUpdatesRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :all_instances, as: 'allInstances'
collection :instances, as: 'instances' collection :instances, as: 'instances'
property :maximal_action, as: 'maximalAction' property :maximal_action, as: 'maximalAction'
property :minimal_action, as: 'minimalAction' property :minimal_action, as: 'minimalAction'
@ -11881,6 +11894,7 @@ module Google
class RegionInstanceGroupManagersApplyUpdatesRequest class RegionInstanceGroupManagersApplyUpdatesRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :all_instances, as: 'allInstances'
collection :instances, as: 'instances' collection :instances, as: 'instances'
property :maximal_action, as: 'maximalAction' property :maximal_action, as: 'maximalAction'
property :minimal_action, as: 'minimalAction' 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 :group_placement_policy, as: 'groupPlacementPolicy', class: Google::Apis::ComputeAlpha::ResourcePolicyGroupPlacementPolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicyGroupPlacementPolicy::Representation
property :id, :numeric_string => true, as: 'id' 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 :kind, as: 'kind'
property :name, as: 'name' property :name, as: 'name'
property :region, as: 'region' property :region, as: 'region'
@ -12358,6 +12374,24 @@ module Google
end end
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 class ResourcePolicyList
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -12427,6 +12461,7 @@ module Google
class ResourcePolicySnapshotSchedulePolicySnapshotProperties class ResourcePolicySnapshotSchedulePolicySnapshotProperties
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :chain_name, as: 'chainName'
property :guest_flush, as: 'guestFlush' property :guest_flush, as: 'guestFlush'
hash :labels, as: 'labels' hash :labels, as: 'labels'
collection :storage_locations, as: 'storageLocations' collection :storage_locations, as: 'storageLocations'
@ -13306,6 +13341,7 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :auto_created, as: 'autoCreated' property :auto_created, as: 'autoCreated'
property :chain_name, as: 'chainName'
property :creation_timestamp, as: 'creationTimestamp' property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description' property :description, as: 'description'
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb' property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/ # @see https://developers.google.com/compute/docs/reference/latest/
module ComputeBeta module ComputeBeta
VERSION = 'Beta' VERSION = 'Beta'
REVISION = '20200511' REVISION = '20200515'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -4931,9 +4931,9 @@ module Google
attr_accessor :options attr_accessor :options
# Physical block size of the persistent disk, in bytes. If not present in a # 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, # request, a default value is used. The currently supported size is 4096, other
# other sizes may be added in the future. If an unsupported value is requested, # sizes may be added in the future. If an unsupported value is requested, the
# the error message will list the supported values for the caller's project. # error message will list the supported values for the caller's project.
# Corresponds to the JSON property `physicalBlockSizeBytes` # Corresponds to the JSON property `physicalBlockSizeBytes`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :physical_block_size_bytes attr_accessor :physical_block_size_bytes
@ -25369,6 +25369,11 @@ module Google
class ResourcePolicySnapshotSchedulePolicySnapshotProperties class ResourcePolicySnapshotSchedulePolicySnapshotProperties
include Google::Apis::Core::Hashable 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. # Indication to perform a 'guest aware' snapshot.
# Corresponds to the JSON property `guestFlush` # Corresponds to the JSON property `guestFlush`
# @return [Boolean] # @return [Boolean]
@ -25393,6 +25398,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@chain_name = args[:chain_name] if args.key?(:chain_name)
@guest_flush = args[:guest_flush] if args.key?(:guest_flush) @guest_flush = args[:guest_flush] if args.key?(:guest_flush)
@labels = args[:labels] if args.key?(:labels) @labels = args[:labels] if args.key?(:labels)
@storage_locations = args[:storage_locations] if args.key?(:storage_locations) @storage_locations = args[:storage_locations] if args.key?(:storage_locations)
@ -28291,6 +28297,11 @@ module Google
attr_accessor :auto_created attr_accessor :auto_created
alias_method :auto_created?, :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. # [Output Only] Creation timestamp in RFC3339 text format.
# Corresponds to the JSON property `creationTimestamp` # Corresponds to the JSON property `creationTimestamp`
# @return [String] # @return [String]
@ -28425,6 +28436,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@auto_created = args[:auto_created] if args.key?(:auto_created) @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) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description) @description = args[:description] if args.key?(:description)
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)

View File

@ -11165,6 +11165,7 @@ module Google
class ResourcePolicySnapshotSchedulePolicySnapshotProperties class ResourcePolicySnapshotSchedulePolicySnapshotProperties
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :chain_name, as: 'chainName'
property :guest_flush, as: 'guestFlush' property :guest_flush, as: 'guestFlush'
hash :labels, as: 'labels' hash :labels, as: 'labels'
collection :storage_locations, as: 'storageLocations' collection :storage_locations, as: 'storageLocations'
@ -11872,6 +11873,7 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :auto_created, as: 'autoCreated' property :auto_created, as: 'autoCreated'
property :chain_name, as: 'chainName'
property :creation_timestamp, as: 'creationTimestamp' property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description' property :description, as: 'description'
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb' property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/ # @see https://developers.google.com/compute/docs/reference/latest/
module ComputeV1 module ComputeV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200511' REVISION = '20200515'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -4493,9 +4493,9 @@ module Google
attr_accessor :options attr_accessor :options
# Physical block size of the persistent disk, in bytes. If not present in a # 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, # request, a default value is used. The currently supported size is 4096, other
# other sizes may be added in the future. If an unsupported value is requested, # sizes may be added in the future. If an unsupported value is requested, the
# the error message will list the supported values for the caller's project. # error message will list the supported values for the caller's project.
# Corresponds to the JSON property `physicalBlockSizeBytes` # Corresponds to the JSON property `physicalBlockSizeBytes`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :physical_block_size_bytes attr_accessor :physical_block_size_bytes

View File

@ -20,12 +20,13 @@ module Google
module Apis module Apis
# Groups Migration API # 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/ # @see https://developers.google.com/google-apps/groups-migration/
module GroupsmigrationV1 module GroupsmigrationV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180803' REVISION = '20200608'
# Manage messages in groups on your domain # Manage messages in groups on your domain
AUTH_APPS_GROUPS_MIGRATION = 'https://www.googleapis.com/auth/apps.groups.migration' AUTH_APPS_GROUPS_MIGRATION = 'https://www.googleapis.com/auth/apps.groups.migration'

View File

@ -22,7 +22,8 @@ module Google
module GroupsmigrationV1 module GroupsmigrationV1
# Groups Migration API # Groups Migration API
# #
# Groups Migration Api. # The Groups Migration API allows domain administrators to archive
# emails into Google groups.
# #
# @example # @example
# require 'google/apis/groupsmigration_v1' # require 'google/apis/groupsmigration_v1'
@ -38,16 +39,12 @@ module Google
attr_accessor :key attr_accessor :key
# @return [String] # @return [String]
# An opaque string that represents a user for quota purposes. Must not exceed 40 # Available to use for quota purposes for server-side applications. Can be any
# characters. # arbitrary string assigned to a user, but should not exceed 40 characters.
attr_accessor :quota_user attr_accessor :quota_user
# @return [String]
# Deprecated. Please use quotaUser instead.
attr_accessor :user_ip
def initialize def initialize
super('https://www.googleapis.com/', 'groups/v1/groups/') super('https://www.googleapis.com/', '')
@batch_path = 'batch/groupsmigration/v1' @batch_path = 'batch/groupsmigration/v1'
end end
@ -57,10 +54,8 @@ module Google
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40 # Available to use for quota purposes for server-side applications. Can be any
# characters. # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [IO, String] upload_source # @param [IO, String] upload_source
# IO stream or filename containing content to upload # IO stream or filename containing content to upload
# @param [String] content_type # @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::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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @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? if upload_source.nil?
command = make_simple_command(:post, '{groupId}/archive', options) command = make_simple_command(:post, 'groups/v1/groups/{groupId}/archive', options)
else 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_source = upload_source
command.upload_content_type = content_type command.upload_content_type = content_type
end end
@ -90,7 +85,6 @@ module Google
command.params['groupId'] = group_id unless group_id.nil? command.params['groupId'] = group_id unless group_id.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.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) execute_or_queue_command(command, &block)
end end
@ -99,7 +93,6 @@ module Google
def apply_command_defaults(command) def apply_command_defaults(command)
command.query['key'] = key unless key.nil? command.query['key'] = key unless key.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
end end
end end
end end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/ # @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3 module JobsV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20200506' REVISION = '20200604'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -808,8 +808,10 @@ module Google
class CustomAttribute class CustomAttribute
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. If the `filterable` flag is true, custom field values are searchable. # Optional. If the `filterable` flag is true, the custom field values may be
# If false, values are not searchable. # used for
# custom attribute filters JobQuery.custom_attribute_filter.
# If false, these values may not be used for custom attribute filters.
# Default is false. # Default is false.
# Corresponds to the JSON property `filterable` # Corresponds to the JSON property `filterable`
# @return [Boolean] # @return [Boolean]

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/ # @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3p1beta1 module JobsV3p1beta1
VERSION = 'V3p1beta1' VERSION = 'V3p1beta1'
REVISION = '20200506' REVISION = '20200604'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -808,8 +808,10 @@ module Google
class CustomAttribute class CustomAttribute
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. If the `filterable` flag is true, custom field values are searchable. # Optional. If the `filterable` flag is true, the custom field values may be
# If false, values are not searchable. # used for
# custom attribute filters JobQuery.custom_attribute_filter.
# If false, these values may not be used for custom attribute filters.
# Default is false. # Default is false.
# Corresponds to the JSON property `filterable` # Corresponds to the JSON property `filterable`
# @return [Boolean] # @return [Boolean]

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/pubsub/docs # @see https://cloud.google.com/pubsub/docs
module PubsubV1 module PubsubV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200525' REVISION = '20200603'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -457,7 +457,7 @@ module Google
end end
end end
# # A policy constraining the storage of messages published to the topic.
class MessageStoragePolicy class MessageStoragePolicy
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -937,6 +937,40 @@ module Google
end end
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. # Request for the `Seek` method.
class SeekRequest class SeekRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1161,9 +1195,6 @@ module Google
# then only `PubsubMessage`s whose `attributes` field matches the filter are # then only `PubsubMessage`s whose `attributes` field matches the filter are
# delivered on this subscription. If empty, then no messages are filtered # delivered on this subscription. If empty, then no messages are filtered
# out. # out.
# <b>EXPERIMENTAL:</b> 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` # Corresponds to the JSON property `filter`
# @return [String] # @return [String]
attr_accessor :filter attr_accessor :filter
@ -1211,6 +1242,18 @@ module Google
attr_accessor :retain_acked_messages attr_accessor :retain_acked_messages
alias_method :retain_acked_messages?, :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 # Required. The name of the topic from which this subscription is receiving
# messages. # messages.
# Format is `projects/`project`/topics/`topic``. # Format is `projects/`project`/topics/`topic``.
@ -1235,6 +1278,7 @@ module Google
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@push_config = args[:push_config] if args.key?(:push_config) @push_config = args[:push_config] if args.key?(:push_config)
@retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages) @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) @topic = args[:topic] if args.key?(:topic)
end end
end end
@ -1298,9 +1342,7 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :labels attr_accessor :labels
# Policy constraining the set of Google Cloud Platform regions where messages # A policy constraining the storage of messages published to the topic.
# published to the topic may be stored. If not present, then no constraints
# are in effect.
# Corresponds to the JSON property `messageStoragePolicy` # Corresponds to the JSON property `messageStoragePolicy`
# @return [Google::Apis::PubsubV1::MessageStoragePolicy] # @return [Google::Apis::PubsubV1::MessageStoragePolicy]
attr_accessor :message_storage_policy attr_accessor :message_storage_policy

View File

@ -172,6 +172,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class RetryPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SeekRequest class SeekRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -445,6 +451,14 @@ module Google
end end
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 class SeekRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation 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 :push_config, as: 'pushConfig', class: Google::Apis::PubsubV1::PushConfig, decorator: Google::Apis::PubsubV1::PushConfig::Representation
property :retain_acked_messages, as: 'retainAckedMessages' 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' property :topic, as: 'topic'
end end
end end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/service-consumer-management/docs/overview # @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1 module ServiceconsumermanagementV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200609' REVISION = '20200611'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2412,41 +2412,56 @@ module Google
# for monitoring. In the example, a monitored resource and two metrics are # for monitoring. In the example, a monitored resource and two metrics are
# defined. The `library.googleapis.com/book/returned_count` metric is sent # defined. The `library.googleapis.com/book/returned_count` metric is sent
# to both producer and consumer projects, whereas the # 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. # consumer project.
# monitored_resources: # 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: # labels:
# - key: /city # - key: resource_container
# description: The city where the library branch is located in. # description: "The Cloud container (ie. project id) for the Branch."
# - key: /name # - key: location
# description: The name of the branch. # description: "The location of the library branch."
# - key: branch_id
# description: "The id of the branch."
# metrics: # metrics:
# - name: library.googleapis.com/book/returned_count # - 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 # metric_kind: DELTA
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# - name: library.googleapis.com/book/overdue_count # 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 # metric_kind: GAUGE
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# description: "The id of the customer."
# monitoring: # monitoring:
# producer_destinations: # producer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# consumer_destinations: # consumer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# - library.googleapis.com/book/overdue_count # - library.googleapis.com/book/num_overdue
class Monitoring class Monitoring
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Monitoring configurations for sending metrics to the consumer project. # 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 # appear in multiple monitoring destinations if different aggregations are
# needed for different sets of metrics associated with that monitored # needed for different sets of metrics associated with that monitored
# resource type. A monitored resource and metric pair may only be used once # resource type. A monitored resource and metric pair may only be used once
@ -2456,7 +2471,7 @@ module Google
attr_accessor :consumer_destinations attr_accessor :consumer_destinations
# Monitoring configurations for sending metrics to the producer project. # 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 # appear in multiple monitoring destinations if different aggregations are
# needed for different sets of metrics associated with that monitored # needed for different sets of metrics associated with that monitored
# resource type. A monitored resource and metric pair may only be used once # 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 # for monitoring. In the example, a monitored resource and two metrics are
# defined. The `library.googleapis.com/book/returned_count` metric is sent # defined. The `library.googleapis.com/book/returned_count` metric is sent
# to both producer and consumer projects, whereas the # 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. # consumer project.
# monitored_resources: # 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: # labels:
# - key: /city # - key: resource_container
# description: The city where the library branch is located in. # description: "The Cloud container (ie. project id) for the Branch."
# - key: /name # - key: location
# description: The name of the branch. # description: "The location of the library branch."
# - key: branch_id
# description: "The id of the branch."
# metrics: # metrics:
# - name: library.googleapis.com/book/returned_count # - 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 # metric_kind: DELTA
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# - name: library.googleapis.com/book/overdue_count # 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 # metric_kind: GAUGE
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# description: "The id of the customer."
# monitoring: # monitoring:
# producer_destinations: # producer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# consumer_destinations: # consumer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# - library.googleapis.com/book/overdue_count # - library.googleapis.com/book/num_overdue
# Corresponds to the JSON property `monitoring` # Corresponds to the JSON property `monitoring`
# @return [Google::Apis::ServiceconsumermanagementV1::Monitoring] # @return [Google::Apis::ServiceconsumermanagementV1::Monitoring]
attr_accessor :monitoring attr_accessor :monitoring

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/service-consumer-management/docs/overview # @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1beta1 module ServiceconsumermanagementV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200609' REVISION = '20200611'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2190,41 +2190,56 @@ module Google
# for monitoring. In the example, a monitored resource and two metrics are # for monitoring. In the example, a monitored resource and two metrics are
# defined. The `library.googleapis.com/book/returned_count` metric is sent # defined. The `library.googleapis.com/book/returned_count` metric is sent
# to both producer and consumer projects, whereas the # 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. # consumer project.
# monitored_resources: # 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: # labels:
# - key: /city # - key: resource_container
# description: The city where the library branch is located in. # description: "The Cloud container (ie. project id) for the Branch."
# - key: /name # - key: location
# description: The name of the branch. # description: "The location of the library branch."
# - key: branch_id
# description: "The id of the branch."
# metrics: # metrics:
# - name: library.googleapis.com/book/returned_count # - 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 # metric_kind: DELTA
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# - name: library.googleapis.com/book/overdue_count # 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 # metric_kind: GAUGE
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# description: "The id of the customer."
# monitoring: # monitoring:
# producer_destinations: # producer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# consumer_destinations: # consumer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# - library.googleapis.com/book/overdue_count # - library.googleapis.com/book/num_overdue
class Monitoring class Monitoring
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Monitoring configurations for sending metrics to the consumer project. # 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 # appear in multiple monitoring destinations if different aggregations are
# needed for different sets of metrics associated with that monitored # needed for different sets of metrics associated with that monitored
# resource type. A monitored resource and metric pair may only be used once # resource type. A monitored resource and metric pair may only be used once
@ -2234,7 +2249,7 @@ module Google
attr_accessor :consumer_destinations attr_accessor :consumer_destinations
# Monitoring configurations for sending metrics to the producer project. # 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 # appear in multiple monitoring destinations if different aggregations are
# needed for different sets of metrics associated with that monitored # needed for different sets of metrics associated with that monitored
# resource type. A monitored resource and metric pair may only be used once # 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 # for monitoring. In the example, a monitored resource and two metrics are
# defined. The `library.googleapis.com/book/returned_count` metric is sent # defined. The `library.googleapis.com/book/returned_count` metric is sent
# to both producer and consumer projects, whereas the # 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. # consumer project.
# monitored_resources: # 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: # labels:
# - key: /city # - key: resource_container
# description: The city where the library branch is located in. # description: "The Cloud container (ie. project id) for the Branch."
# - key: /name # - key: location
# description: The name of the branch. # description: "The location of the library branch."
# - key: branch_id
# description: "The id of the branch."
# metrics: # metrics:
# - name: library.googleapis.com/book/returned_count # - 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 # metric_kind: DELTA
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# - name: library.googleapis.com/book/overdue_count # 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 # metric_kind: GAUGE
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# description: "The id of the customer."
# monitoring: # monitoring:
# producer_destinations: # producer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# consumer_destinations: # consumer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# - library.googleapis.com/book/overdue_count # - library.googleapis.com/book/num_overdue
# Corresponds to the JSON property `monitoring` # Corresponds to the JSON property `monitoring`
# @return [Google::Apis::ServiceconsumermanagementV1beta1::Monitoring] # @return [Google::Apis::ServiceconsumermanagementV1beta1::Monitoring]
attr_accessor :monitoring attr_accessor :monitoring

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1 module ServicenetworkingV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200609' REVISION = '20200611'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2763,41 +2763,56 @@ module Google
# for monitoring. In the example, a monitored resource and two metrics are # for monitoring. In the example, a monitored resource and two metrics are
# defined. The `library.googleapis.com/book/returned_count` metric is sent # defined. The `library.googleapis.com/book/returned_count` metric is sent
# to both producer and consumer projects, whereas the # 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. # consumer project.
# monitored_resources: # 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: # labels:
# - key: /city # - key: resource_container
# description: The city where the library branch is located in. # description: "The Cloud container (ie. project id) for the Branch."
# - key: /name # - key: location
# description: The name of the branch. # description: "The location of the library branch."
# - key: branch_id
# description: "The id of the branch."
# metrics: # metrics:
# - name: library.googleapis.com/book/returned_count # - 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 # metric_kind: DELTA
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# - name: library.googleapis.com/book/overdue_count # 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 # metric_kind: GAUGE
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# description: "The id of the customer."
# monitoring: # monitoring:
# producer_destinations: # producer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# consumer_destinations: # consumer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# - library.googleapis.com/book/overdue_count # - library.googleapis.com/book/num_overdue
class Monitoring class Monitoring
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Monitoring configurations for sending metrics to the consumer project. # 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 # appear in multiple monitoring destinations if different aggregations are
# needed for different sets of metrics associated with that monitored # needed for different sets of metrics associated with that monitored
# resource type. A monitored resource and metric pair may only be used once # resource type. A monitored resource and metric pair may only be used once
@ -2807,7 +2822,7 @@ module Google
attr_accessor :consumer_destinations attr_accessor :consumer_destinations
# Monitoring configurations for sending metrics to the producer project. # 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 # appear in multiple monitoring destinations if different aggregations are
# needed for different sets of metrics associated with that monitored # needed for different sets of metrics associated with that monitored
# resource type. A monitored resource and metric pair may only be used once # 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: # granularity. The role must be one of the following:
# - 'roles/container.hostServiceAgentUser' applied on the shared VPC host # - 'roles/container.hostServiceAgentUser' applied on the shared VPC host
# project # project
# - 'roles/compute.securityAdmin' applied on the shared VPC host project
# Corresponds to the JSON property `role` # Corresponds to the JSON property `role`
# @return [String] # @return [String]
attr_accessor :role attr_accessor :role
@ -3786,36 +3802,51 @@ module Google
# for monitoring. In the example, a monitored resource and two metrics are # for monitoring. In the example, a monitored resource and two metrics are
# defined. The `library.googleapis.com/book/returned_count` metric is sent # defined. The `library.googleapis.com/book/returned_count` metric is sent
# to both producer and consumer projects, whereas the # 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. # consumer project.
# monitored_resources: # 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: # labels:
# - key: /city # - key: resource_container
# description: The city where the library branch is located in. # description: "The Cloud container (ie. project id) for the Branch."
# - key: /name # - key: location
# description: The name of the branch. # description: "The location of the library branch."
# - key: branch_id
# description: "The id of the branch."
# metrics: # metrics:
# - name: library.googleapis.com/book/returned_count # - 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 # metric_kind: DELTA
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# - name: library.googleapis.com/book/overdue_count # 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 # metric_kind: GAUGE
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# description: "The id of the customer."
# monitoring: # monitoring:
# producer_destinations: # producer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# consumer_destinations: # consumer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# - library.googleapis.com/book/overdue_count # - library.googleapis.com/book/num_overdue
# Corresponds to the JSON property `monitoring` # Corresponds to the JSON property `monitoring`
# @return [Google::Apis::ServicenetworkingV1::Monitoring] # @return [Google::Apis::ServicenetworkingV1::Monitoring]
attr_accessor :monitoring attr_accessor :monitoring

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1beta module ServicenetworkingV1beta
VERSION = 'V1beta' VERSION = 'V1beta'
REVISION = '20200609' REVISION = '20200611'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2521,41 +2521,56 @@ module Google
# for monitoring. In the example, a monitored resource and two metrics are # for monitoring. In the example, a monitored resource and two metrics are
# defined. The `library.googleapis.com/book/returned_count` metric is sent # defined. The `library.googleapis.com/book/returned_count` metric is sent
# to both producer and consumer projects, whereas the # 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. # consumer project.
# monitored_resources: # 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: # labels:
# - key: /city # - key: resource_container
# description: The city where the library branch is located in. # description: "The Cloud container (ie. project id) for the Branch."
# - key: /name # - key: location
# description: The name of the branch. # description: "The location of the library branch."
# - key: branch_id
# description: "The id of the branch."
# metrics: # metrics:
# - name: library.googleapis.com/book/returned_count # - 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 # metric_kind: DELTA
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# - name: library.googleapis.com/book/overdue_count # 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 # metric_kind: GAUGE
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# description: "The id of the customer."
# monitoring: # monitoring:
# producer_destinations: # producer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# consumer_destinations: # consumer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# - library.googleapis.com/book/overdue_count # - library.googleapis.com/book/num_overdue
class Monitoring class Monitoring
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Monitoring configurations for sending metrics to the consumer project. # 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 # appear in multiple monitoring destinations if different aggregations are
# needed for different sets of metrics associated with that monitored # needed for different sets of metrics associated with that monitored
# resource type. A monitored resource and metric pair may only be used once # resource type. A monitored resource and metric pair may only be used once
@ -2565,7 +2580,7 @@ module Google
attr_accessor :consumer_destinations attr_accessor :consumer_destinations
# Monitoring configurations for sending metrics to the producer project. # 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 # appear in multiple monitoring destinations if different aggregations are
# needed for different sets of metrics associated with that monitored # needed for different sets of metrics associated with that monitored
# resource type. A monitored resource and metric pair may only be used once # 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: # granularity. The role must be one of the following:
# - 'roles/container.hostServiceAgentUser' applied on the shared VPC host # - 'roles/container.hostServiceAgentUser' applied on the shared VPC host
# project # project
# - 'roles/compute.securityAdmin' applied on the shared VPC host project
# Corresponds to the JSON property `role` # Corresponds to the JSON property `role`
# @return [String] # @return [String]
attr_accessor :role attr_accessor :role
@ -3444,36 +3460,51 @@ module Google
# for monitoring. In the example, a monitored resource and two metrics are # for monitoring. In the example, a monitored resource and two metrics are
# defined. The `library.googleapis.com/book/returned_count` metric is sent # defined. The `library.googleapis.com/book/returned_count` metric is sent
# to both producer and consumer projects, whereas the # 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. # consumer project.
# monitored_resources: # 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: # labels:
# - key: /city # - key: resource_container
# description: The city where the library branch is located in. # description: "The Cloud container (ie. project id) for the Branch."
# - key: /name # - key: location
# description: The name of the branch. # description: "The location of the library branch."
# - key: branch_id
# description: "The id of the branch."
# metrics: # metrics:
# - name: library.googleapis.com/book/returned_count # - 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 # metric_kind: DELTA
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# - name: library.googleapis.com/book/overdue_count # 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 # metric_kind: GAUGE
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# description: "The id of the customer."
# monitoring: # monitoring:
# producer_destinations: # producer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# consumer_destinations: # consumer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# - library.googleapis.com/book/overdue_count # - library.googleapis.com/book/num_overdue
# Corresponds to the JSON property `monitoring` # Corresponds to the JSON property `monitoring`
# @return [Google::Apis::ServicenetworkingV1beta::Monitoring] # @return [Google::Apis::ServicenetworkingV1beta::Monitoring]
attr_accessor :monitoring attr_accessor :monitoring

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/ # @see https://cloud.google.com/service-usage/
module ServiceusageV1 module ServiceusageV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200609' REVISION = '20200611'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -56,7 +56,7 @@ module Google
# This name is generated by the server when the policy is created. # This name is generated by the server when the policy is created.
# Example names would be: # Example names would be:
# `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/ # `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/
# compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminPolicies/ # compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminQuotaPolicies/
# 4a3f2c1d` # 4a3f2c1d`
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
@ -1738,36 +1738,51 @@ module Google
# for monitoring. In the example, a monitored resource and two metrics are # for monitoring. In the example, a monitored resource and two metrics are
# defined. The `library.googleapis.com/book/returned_count` metric is sent # defined. The `library.googleapis.com/book/returned_count` metric is sent
# to both producer and consumer projects, whereas the # 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. # consumer project.
# monitored_resources: # 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: # labels:
# - key: /city # - key: resource_container
# description: The city where the library branch is located in. # description: "The Cloud container (ie. project id) for the Branch."
# - key: /name # - key: location
# description: The name of the branch. # description: "The location of the library branch."
# - key: branch_id
# description: "The id of the branch."
# metrics: # metrics:
# - name: library.googleapis.com/book/returned_count # - 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 # metric_kind: DELTA
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# - name: library.googleapis.com/book/overdue_count # 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 # metric_kind: GAUGE
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# description: "The id of the customer."
# monitoring: # monitoring:
# producer_destinations: # producer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# consumer_destinations: # consumer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# - library.googleapis.com/book/overdue_count # - library.googleapis.com/book/num_overdue
# Corresponds to the JSON property `monitoring` # Corresponds to the JSON property `monitoring`
# @return [Google::Apis::ServiceusageV1::Monitoring] # @return [Google::Apis::ServiceusageV1::Monitoring]
attr_accessor :monitoring attr_accessor :monitoring
@ -3399,41 +3414,56 @@ module Google
# for monitoring. In the example, a monitored resource and two metrics are # for monitoring. In the example, a monitored resource and two metrics are
# defined. The `library.googleapis.com/book/returned_count` metric is sent # defined. The `library.googleapis.com/book/returned_count` metric is sent
# to both producer and consumer projects, whereas the # 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. # consumer project.
# monitored_resources: # 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: # labels:
# - key: /city # - key: resource_container
# description: The city where the library branch is located in. # description: "The Cloud container (ie. project id) for the Branch."
# - key: /name # - key: location
# description: The name of the branch. # description: "The location of the library branch."
# - key: branch_id
# description: "The id of the branch."
# metrics: # metrics:
# - name: library.googleapis.com/book/returned_count # - 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 # metric_kind: DELTA
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# - name: library.googleapis.com/book/overdue_count # 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 # metric_kind: GAUGE
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# description: "The id of the customer."
# monitoring: # monitoring:
# producer_destinations: # producer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# consumer_destinations: # consumer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# - library.googleapis.com/book/overdue_count # - library.googleapis.com/book/num_overdue
class Monitoring class Monitoring
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Monitoring configurations for sending metrics to the consumer project. # 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 # appear in multiple monitoring destinations if different aggregations are
# needed for different sets of metrics associated with that monitored # needed for different sets of metrics associated with that monitored
# resource type. A monitored resource and metric pair may only be used once # resource type. A monitored resource and metric pair may only be used once
@ -3443,7 +3473,7 @@ module Google
attr_accessor :consumer_destinations attr_accessor :consumer_destinations
# Monitoring configurations for sending metrics to the producer project. # 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 # appear in multiple monitoring destinations if different aggregations are
# needed for different sets of metrics associated with that monitored # needed for different sets of metrics associated with that monitored
# resource type. A monitored resource and metric pair may only be used once # resource type. A monitored resource and metric pair may only be used once

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/ # @see https://cloud.google.com/service-usage/
module ServiceusageV1beta1 module ServiceusageV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200609' REVISION = '20200611'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -56,7 +56,7 @@ module Google
# This name is generated by the server when the policy is created. # This name is generated by the server when the policy is created.
# Example names would be: # Example names would be:
# `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/ # `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/
# compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminPolicies/ # compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminQuotaPolicies/
# 4a3f2c1d` # 4a3f2c1d`
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
@ -1813,36 +1813,51 @@ module Google
# for monitoring. In the example, a monitored resource and two metrics are # for monitoring. In the example, a monitored resource and two metrics are
# defined. The `library.googleapis.com/book/returned_count` metric is sent # defined. The `library.googleapis.com/book/returned_count` metric is sent
# to both producer and consumer projects, whereas the # 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. # consumer project.
# monitored_resources: # 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: # labels:
# - key: /city # - key: resource_container
# description: The city where the library branch is located in. # description: "The Cloud container (ie. project id) for the Branch."
# - key: /name # - key: location
# description: The name of the branch. # description: "The location of the library branch."
# - key: branch_id
# description: "The id of the branch."
# metrics: # metrics:
# - name: library.googleapis.com/book/returned_count # - 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 # metric_kind: DELTA
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# - name: library.googleapis.com/book/overdue_count # 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 # metric_kind: GAUGE
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# description: "The id of the customer."
# monitoring: # monitoring:
# producer_destinations: # producer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# consumer_destinations: # consumer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# - library.googleapis.com/book/overdue_count # - library.googleapis.com/book/num_overdue
# Corresponds to the JSON property `monitoring` # Corresponds to the JSON property `monitoring`
# @return [Google::Apis::ServiceusageV1beta1::Monitoring] # @return [Google::Apis::ServiceusageV1beta1::Monitoring]
attr_accessor :monitoring attr_accessor :monitoring
@ -3552,41 +3567,56 @@ module Google
# for monitoring. In the example, a monitored resource and two metrics are # for monitoring. In the example, a monitored resource and two metrics are
# defined. The `library.googleapis.com/book/returned_count` metric is sent # defined. The `library.googleapis.com/book/returned_count` metric is sent
# to both producer and consumer projects, whereas the # 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. # consumer project.
# monitored_resources: # 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: # labels:
# - key: /city # - key: resource_container
# description: The city where the library branch is located in. # description: "The Cloud container (ie. project id) for the Branch."
# - key: /name # - key: location
# description: The name of the branch. # description: "The location of the library branch."
# - key: branch_id
# description: "The id of the branch."
# metrics: # metrics:
# - name: library.googleapis.com/book/returned_count # - 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 # metric_kind: DELTA
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# - name: library.googleapis.com/book/overdue_count # 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 # metric_kind: GAUGE
# value_type: INT64 # value_type: INT64
# unit: "1"
# labels: # labels:
# - key: /customer_id # - key: customer_id
# description: "The id of the customer."
# monitoring: # monitoring:
# producer_destinations: # producer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# consumer_destinations: # consumer_destinations:
# - monitored_resource: library.googleapis.com/branch # - monitored_resource: library.googleapis.com/Branch
# metrics: # metrics:
# - library.googleapis.com/book/returned_count # - library.googleapis.com/book/returned_count
# - library.googleapis.com/book/overdue_count # - library.googleapis.com/book/num_overdue
class Monitoring class Monitoring
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Monitoring configurations for sending metrics to the consumer project. # 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 # appear in multiple monitoring destinations if different aggregations are
# needed for different sets of metrics associated with that monitored # needed for different sets of metrics associated with that monitored
# resource type. A monitored resource and metric pair may only be used once # resource type. A monitored resource and metric pair may only be used once
@ -3596,7 +3626,7 @@ module Google
attr_accessor :consumer_destinations attr_accessor :consumer_destinations
# Monitoring configurations for sending metrics to the producer project. # 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 # appear in multiple monitoring destinations if different aggregations are
# needed for different sets of metrics associated with that monitored # needed for different sets of metrics associated with that monitored
# resource type. A monitored resource and metric pair may only be used once # resource type. A monitored resource and metric pair may only be used once

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/text-to-speech/ # @see https://cloud.google.com/text-to-speech/
module TexttospeechV1 module TexttospeechV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200219' REVISION = '20200605'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -123,7 +123,7 @@ module Google
# The SSML document to be synthesized. The SSML document must be valid # The SSML document to be synthesized. The SSML document must be valid
# and well-formed. Otherwise the RPC will fail and return # and well-formed. Otherwise the RPC will fail and return
# google.rpc.Code.INVALID_ARGUMENT. For more information, see # 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` # Corresponds to the JSON property `ssml`
# @return [String] # @return [String]
attr_accessor :ssml attr_accessor :ssml

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/text-to-speech/ # @see https://cloud.google.com/text-to-speech/
module TexttospeechV1beta1 module TexttospeechV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200219' REVISION = '20200605'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -123,7 +123,7 @@ module Google
# The SSML document to be synthesized. The SSML document must be valid # The SSML document to be synthesized. The SSML document must be valid
# and well-formed. Otherwise the RPC will fail and return # and well-formed. Otherwise the RPC will fail and return
# google.rpc.Code.INVALID_ARGUMENT. For more information, see # 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` # Corresponds to the JSON property `ssml`
# @return [String] # @return [String]
attr_accessor :ssml attr_accessor :ssml