Autogenerated update (2020-06-19)

Update:
- books_v1
- calendar_v3
- chat_v1
- monitoring_v3
- secretmanager_v1
- secretmanager_v1beta1
- serviceconsumermanagement_v1
- serviceconsumermanagement_v1beta1
- serviceusage_v1
- serviceusage_v1beta1
This commit is contained in:
Google APIs 2020-06-19 00:38:28 +00:00
parent 68e92e4d7d
commit 536532d886
20 changed files with 111 additions and 27 deletions

View File

@ -25,7 +25,7 @@ module Google
# @see https://code.google.com/apis/books/docs/v1/getting_started.html # @see https://code.google.com/apis/books/docs/v1/getting_started.html
module BooksV1 module BooksV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200606' REVISION = '20200617'
# Manage your books # Manage your books
AUTH_BOOKS = 'https://www.googleapis.com/auth/books' AUTH_BOOKS = 'https://www.googleapis.com/auth/books'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/google-apps/calendar/firstapp # @see https://developers.google.com/google-apps/calendar/firstapp
module CalendarV3 module CalendarV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20200517' REVISION = '20200610'
# See, edit, share, and permanently delete all the calendars you can access using Google Calendar # See, edit, share, and permanently delete all the calendars you can access using Google Calendar
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar' AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/hangouts/chat # @see https://developers.google.com/hangouts/chat
module ChatV1 module ChatV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200502' REVISION = '20200617'
end end
end end
end end

View File

@ -787,6 +787,8 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Output only. The display name (only if the space is a room). # Output only. The display name (only if the space is a room).
# Please note that this field might not be populated in direct messages
# between humans.
# Corresponds to the JSON property `displayName` # Corresponds to the JSON property `displayName`
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name

View File

@ -29,7 +29,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/ # @see https://cloud.google.com/monitoring/api/
module MonitoringV3 module MonitoringV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20200608' REVISION = '20200615'
# 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

@ -2200,7 +2200,15 @@ module Google
# Defines a metric type and its schema. Once a metric descriptor is created, # Defines a metric type and its schema. Once a metric descriptor is created,
# deleting or altering it stops data collection and makes the metric type's # deleting or altering it stops data collection and makes the metric type's
# existing data unusable. # existing data unusable.The following are specific rules for service defined
# Monitoring metric descriptors:
# type, metric_kind, value_type, description, display_name, launch_stage fields
# are all required. The unit field must be specified if the value_type is any
# of DOUBLE, INT64, DISTRIBUTION.
# Maximum of default 500 metric descriptors per service is allowed.
# Maximum of default 10 labels per metric descriptor is allowed.The default
# maximum limit can be overridden. Please follow https://cloud.google.com/
# monitoring/quotas
class MetricDescriptor class MetricDescriptor
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2218,10 +2226,13 @@ module Google
attr_accessor :display_name attr_accessor :display_name
# The set of labels that can be used to describe a specific instance of this # The set of labels that can be used to describe a specific instance of this
# metric type. For example, the appengine.googleapis.com/http/server/ # metric type.The label key name must follow:
# response_latencies metric type has a label for the HTTP response code, # Only upper and lower-case letters, digits and underscores (_) are allowed.
# response_code, so you can look at latencies for successful responses or just # Label name must start with a letter or digit.
# for responses that failed. # The maximum length of a label name is 100 characters.For example, the
# appengine.googleapis.com/http/server/response_latencies metric type has a
# label for the HTTP response code, response_code, so you can look at latencies
# for successful responses or just for responses that failed.
# Corresponds to the JSON property `labels` # Corresponds to the JSON property `labels`
# @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>] # @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>]
attr_accessor :labels attr_accessor :labels
@ -2256,9 +2267,15 @@ module Google
attr_accessor :name attr_accessor :name
# The metric type, including its DNS name prefix. The type is not URL-encoded. # The metric type, including its DNS name prefix. The type is not URL-encoded.
# All user-defined metric types have the DNS name custom.googleapis.com or # All service defined metrics must be prefixed with the service name, in the
# external.googleapis.com. Metric types should use a natural hierarchical # format of `service name`/`relative metric name`, such as cloudsql.googleapis.
# grouping. For example: # com/database/cpu/utilization. The relative metric name must follow:
# Only upper and lower-case letters, digits, '/' and underscores '_' are
# allowed.
# The maximum number of characters allowed for the relative_metric_name is 100.
# All user-defined metric types have the DNS name custom.googleapis.com,
# external.googleapis.com, or logging.googleapis.com/user/.Metric types should
# use a natural hierarchical grouping. For example:
# "custom.googleapis.com/invoice/paid/amount" # "custom.googleapis.com/invoice/paid/amount"
# "external.googleapis.com/prometheus/up" # "external.googleapis.com/prometheus/up"
# "appengine.googleapis.com/http/server/response_latencies" # "appengine.googleapis.com/http/server/response_latencies"
@ -2286,7 +2303,8 @@ module Google
# s second # s second
# min minute # min minute
# h hour # h hour
# d dayPrefixes (PREFIX) # d day
# 1 dimensionlessPrefixes (PREFIX)
# k kilo (10^3) # k kilo (10^3)
# M mega (10^6) # M mega (10^6)
# G giga (10^9) # G giga (10^9)
@ -2580,9 +2598,20 @@ module Google
# name and a set of labels. For example, the monitored resource descriptor for # name and a set of labels. For example, the monitored resource descriptor for
# Google Compute Engine VM instances has a type of "gce_instance" and specifies # Google Compute Engine VM instances has a type of "gce_instance" and specifies
# the use of the labels "instance_id" and "zone" to identify particular VM # the use of the labels "instance_id" and "zone" to identify particular VM
# instances.Different APIs can support different monitored resource types. APIs # instances.Different services can support different monitored resource types.
# generally provide a list method that returns the monitored resource # The following are specific rules to service defined monitored resources for
# descriptors used by the API. # Monitoring and Logging:
# The type, display_name, description, labels and launch_stage fields are all
# required.
# The first label of the monitored resource descriptor must be
# resource_container. There are legacy monitored resource descritptors start
# with project_id.
# It must include a location label.
# Maximum of default 5 service defined monitored resource descriptors is
# allowed per service.
# Maximum of default 10 labels per monitored resource is allowed.The default
# maximum limit can be overridden. Please follow https://cloud.google.com/
# monitoring/quotas
class MonitoredResourceDescriptor class MonitoredResourceDescriptor
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2600,8 +2629,12 @@ module Google
attr_accessor :display_name attr_accessor :display_name
# Required. A set of labels used to describe instances of this monitored # Required. A set of labels used to describe instances of this monitored
# resource type. For example, an individual Google Cloud SQL database is # resource type. The label key name must follow:
# identified by values for the labels "database_id" and "zone". # Only upper and lower-case letters, digits and underscores (_) are allowed.
# Label name must start with a letter or digit.
# The maximum length of a label name is 100 characters.For example, an
# individual Google Cloud SQL database is identified by values for the labels
# database_id and location.
# Corresponds to the JSON property `labels` # Corresponds to the JSON property `labels`
# @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>] # @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>]
attr_accessor :labels attr_accessor :labels
@ -2621,9 +2654,15 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Required. The monitored resource type. For example, the type " # Required. The monitored resource type. For example, the type cloudsql_database
# cloudsql_database" represents databases in Google Cloud SQL. The maximum # represents databases in Google Cloud SQL.All service defined monitored
# length of this value is 256 characters. # resource types must be prefixed with the service name, in the format of `
# service name`/`relative resource name`. The relative resource name must follow:
# Only upper and lower-case letters and digits are allowed.
# It must start with upper case character and is recommended to use Upper Camel
# Case style.
# The maximum number of characters allowed for the relative_resource_name is
# 100.Note there are legacy service monitored resources not following this rule.
# Corresponds to the JSON property `type` # Corresponds to the JSON property `type`
# @return [String] # @return [String]
attr_accessor :type attr_accessor :type

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/secret-manager/ # @see https://cloud.google.com/secret-manager/
module SecretmanagerV1 module SecretmanagerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200605' REVISION = '20200612'
# 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

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/secret-manager/ # @see https://cloud.google.com/secret-manager/
module SecretmanagerV1beta1 module SecretmanagerV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200605' REVISION = '20200612'
# 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

@ -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 = '20200615' REVISION = '20200617'
# 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

@ -4247,6 +4247,13 @@ module Google
class V1Beta1QuotaOverride class V1Beta1QuotaOverride
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The resource name of the ancestor that requested the override. For example:
# "organizations/12345" or "folders/67890".
# Used by admin overrides only.
# Corresponds to the JSON property `adminOverrideAncestor`
# @return [String]
attr_accessor :admin_override_ancestor
# If this map is nonempty, then this override applies only to specific values # If this map is nonempty, then this override applies only to specific values
# for dimensions defined in the limit unit. # for dimensions defined in the limit unit.
# For example, an override on a limit with the unit 1/`project`/`region` # For example, an override on a limit with the unit 1/`project`/`region`
@ -4305,6 +4312,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@admin_override_ancestor = args[:admin_override_ancestor] if args.key?(:admin_override_ancestor)
@dimensions = args[:dimensions] if args.key?(:dimensions) @dimensions = args[:dimensions] if args.key?(:dimensions)
@metric = args[:metric] if args.key?(:metric) @metric = args[:metric] if args.key?(:metric)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)

View File

@ -1395,6 +1395,7 @@ module Google
class V1Beta1QuotaOverride class V1Beta1QuotaOverride
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :admin_override_ancestor, as: 'adminOverrideAncestor'
hash :dimensions, as: 'dimensions' hash :dimensions, as: 'dimensions'
property :metric, as: 'metric' property :metric, as: 'metric'
property :name, as: 'name' property :name, as: 'name'

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 = '20200615' REVISION = '20200617'
# 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

@ -3986,6 +3986,13 @@ module Google
class V1Beta1QuotaOverride class V1Beta1QuotaOverride
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The resource name of the ancestor that requested the override. For example:
# "organizations/12345" or "folders/67890".
# Used by admin overrides only.
# Corresponds to the JSON property `adminOverrideAncestor`
# @return [String]
attr_accessor :admin_override_ancestor
# If this map is nonempty, then this override applies only to specific values # If this map is nonempty, then this override applies only to specific values
# for dimensions defined in the limit unit. # for dimensions defined in the limit unit.
# For example, an override on a limit with the unit 1/`project`/`region` # For example, an override on a limit with the unit 1/`project`/`region`
@ -4044,6 +4051,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@admin_override_ancestor = args[:admin_override_ancestor] if args.key?(:admin_override_ancestor)
@dimensions = args[:dimensions] if args.key?(:dimensions) @dimensions = args[:dimensions] if args.key?(:dimensions)
@metric = args[:metric] if args.key?(:metric) @metric = args[:metric] if args.key?(:metric)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)

View File

@ -1241,6 +1241,7 @@ module Google
class V1Beta1QuotaOverride class V1Beta1QuotaOverride
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :admin_override_ancestor, as: 'adminOverrideAncestor'
hash :dimensions, as: 'dimensions' hash :dimensions, as: 'dimensions'
property :metric, as: 'metric' property :metric, as: 'metric'
property :name, as: 'name' property :name, as: 'name'

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 = '20200615' REVISION = '20200617'
# 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

@ -943,6 +943,11 @@ module Google
class DisableServiceRequest class DisableServiceRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Defines the behavior for checking service usage when disabling a service.
# Corresponds to the JSON property `checkIfServiceHasUsage`
# @return [String]
attr_accessor :check_if_service_has_usage
# Indicates if services that are enabled and which depend on this service # Indicates if services that are enabled and which depend on this service
# should also be disabled. If not set, an error will be generated if any # should also be disabled. If not set, an error will be generated if any
# enabled services depend on the service to be disabled. When set, the # enabled services depend on the service to be disabled. When set, the
@ -959,6 +964,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@check_if_service_has_usage = args[:check_if_service_has_usage] if args.key?(:check_if_service_has_usage)
@disable_dependent_services = args[:disable_dependent_services] if args.key?(:disable_dependent_services) @disable_dependent_services = args[:disable_dependent_services] if args.key?(:disable_dependent_services)
end end
end end
@ -3913,6 +3919,13 @@ module Google
class QuotaOverride class QuotaOverride
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The resource name of the ancestor that requested the override. For example:
# "organizations/12345" or "folders/67890".
# Used by admin overrides only.
# Corresponds to the JSON property `adminOverrideAncestor`
# @return [String]
attr_accessor :admin_override_ancestor
# If this map is nonempty, then this override applies only to specific values # If this map is nonempty, then this override applies only to specific values
# for dimensions defined in the limit unit. # for dimensions defined in the limit unit.
# For example, an override on a limit with the unit 1/`project`/`region` # For example, an override on a limit with the unit 1/`project`/`region`
@ -3976,6 +3989,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@admin_override_ancestor = args[:admin_override_ancestor] if args.key?(:admin_override_ancestor)
@dimensions = args[:dimensions] if args.key?(:dimensions) @dimensions = args[:dimensions] if args.key?(:dimensions)
@metric = args[:metric] if args.key?(:metric) @metric = args[:metric] if args.key?(:metric)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)

View File

@ -714,6 +714,7 @@ module Google
class DisableServiceRequest class DisableServiceRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :check_if_service_has_usage, as: 'checkIfServiceHasUsage'
property :disable_dependent_services, as: 'disableDependentServices' property :disable_dependent_services, as: 'disableDependentServices'
end end
end end
@ -1235,6 +1236,7 @@ module Google
class QuotaOverride class QuotaOverride
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :admin_override_ancestor, as: 'adminOverrideAncestor'
hash :dimensions, as: 'dimensions' hash :dimensions, as: 'dimensions'
property :metric, as: 'metric' property :metric, as: 'metric'
property :name, as: 'name' property :name, as: 'name'

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 = '20200615' REVISION = '20200617'
# 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

@ -4175,6 +4175,13 @@ module Google
class QuotaOverride class QuotaOverride
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The resource name of the ancestor that requested the override. For example:
# "organizations/12345" or "folders/67890".
# Used by admin overrides only.
# Corresponds to the JSON property `adminOverrideAncestor`
# @return [String]
attr_accessor :admin_override_ancestor
# If this map is nonempty, then this override applies only to specific values # If this map is nonempty, then this override applies only to specific values
# for dimensions defined in the limit unit. # for dimensions defined in the limit unit.
# For example, an override on a limit with the unit 1/`project`/`region` # For example, an override on a limit with the unit 1/`project`/`region`
@ -4238,6 +4245,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@admin_override_ancestor = args[:admin_override_ancestor] if args.key?(:admin_override_ancestor)
@dimensions = args[:dimensions] if args.key?(:dimensions) @dimensions = args[:dimensions] if args.key?(:dimensions)
@metric = args[:metric] if args.key?(:metric) @metric = args[:metric] if args.key?(:metric)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)

View File

@ -1352,6 +1352,7 @@ module Google
class QuotaOverride class QuotaOverride
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :admin_override_ancestor, as: 'adminOverrideAncestor'
hash :dimensions, as: 'dimensions' hash :dimensions, as: 'dimensions'
property :metric, as: 'metric' property :metric, as: 'metric'
property :name, as: 'name' property :name, as: 'name'