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
module BooksV1
VERSION = 'V1'
REVISION = '20200606'
REVISION = '20200617'
# Manage your 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
module CalendarV3
VERSION = 'V3'
REVISION = '20200517'
REVISION = '20200610'
# See, edit, share, and permanently delete all the calendars you can access using Google Calendar
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'

View File

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

View File

@ -787,6 +787,8 @@ module Google
include Google::Apis::Core::Hashable
# 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`
# @return [String]
attr_accessor :display_name

View File

@ -29,7 +29,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/
module MonitoringV3
VERSION = 'V3'
REVISION = '20200608'
REVISION = '20200615'
# View and manage your data across Google Cloud Platform services
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,
# 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
include Google::Apis::Core::Hashable
@ -2218,10 +2226,13 @@ module Google
attr_accessor :display_name
# 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/
# 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.
# metric type.The label key name must follow:
# 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, 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`
# @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>]
attr_accessor :labels
@ -2256,9 +2267,15 @@ module Google
attr_accessor :name
# 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
# external.googleapis.com. Metric types should use a natural hierarchical
# grouping. For example:
# All service defined metrics must be prefixed with the service name, in the
# format of `service name`/`relative metric name`, such as cloudsql.googleapis.
# 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"
# "external.googleapis.com/prometheus/up"
# "appengine.googleapis.com/http/server/response_latencies"
@ -2286,7 +2303,8 @@ module Google
# s second
# min minute
# h hour
# d dayPrefixes (PREFIX)
# d day
# 1 dimensionlessPrefixes (PREFIX)
# k kilo (10^3)
# M mega (10^6)
# G giga (10^9)
@ -2580,9 +2598,20 @@ module Google
# 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
# the use of the labels "instance_id" and "zone" to identify particular VM
# instances.Different APIs can support different monitored resource types. APIs
# generally provide a list method that returns the monitored resource
# descriptors used by the API.
# instances.Different services can support different monitored resource types.
# The following are specific rules to service defined monitored resources for
# 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
include Google::Apis::Core::Hashable
@ -2600,8 +2629,12 @@ module Google
attr_accessor :display_name
# Required. A set of labels used to describe instances of this monitored
# resource type. For example, an individual Google Cloud SQL database is
# identified by values for the labels "database_id" and "zone".
# resource type. The label key name must follow:
# 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`
# @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>]
attr_accessor :labels
@ -2621,9 +2654,15 @@ module Google
# @return [String]
attr_accessor :name
# Required. The monitored resource type. For example, the type "
# cloudsql_database" represents databases in Google Cloud SQL. The maximum
# length of this value is 256 characters.
# Required. The monitored resource type. For example, the type cloudsql_database
# represents databases in Google Cloud SQL.All service defined monitored
# 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`
# @return [String]
attr_accessor :type

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/secret-manager/
module SecretmanagerV1
VERSION = 'V1'
REVISION = '20200605'
REVISION = '20200612'
# View and manage your data across Google Cloud Platform services
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/
module SecretmanagerV1beta1
VERSION = 'V1beta1'
REVISION = '20200605'
REVISION = '20200612'
# View and manage your data across Google Cloud Platform services
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
module ServiceconsumermanagementV1
VERSION = 'V1'
REVISION = '20200615'
REVISION = '20200617'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -4247,6 +4247,13 @@ module Google
class V1Beta1QuotaOverride
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
# for dimensions defined in the limit unit.
# For example, an override on a limit with the unit 1/`project`/`region`
@ -4305,6 +4312,7 @@ module Google
# Update properties of this object
def update!(**args)
@admin_override_ancestor = args[:admin_override_ancestor] if args.key?(:admin_override_ancestor)
@dimensions = args[:dimensions] if args.key?(:dimensions)
@metric = args[:metric] if args.key?(:metric)
@name = args[:name] if args.key?(:name)

View File

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

View File

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

View File

@ -3986,6 +3986,13 @@ module Google
class V1Beta1QuotaOverride
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
# for dimensions defined in the limit unit.
# For example, an override on a limit with the unit 1/`project`/`region`
@ -4044,6 +4051,7 @@ module Google
# Update properties of this object
def update!(**args)
@admin_override_ancestor = args[:admin_override_ancestor] if args.key?(:admin_override_ancestor)
@dimensions = args[:dimensions] if args.key?(:dimensions)
@metric = args[:metric] if args.key?(:metric)
@name = args[:name] if args.key?(:name)

View File

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

View File

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

View File

@ -943,6 +943,11 @@ module Google
class DisableServiceRequest
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
# 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
@ -959,6 +964,7 @@ module Google
# Update properties of this object
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)
end
end
@ -3913,6 +3919,13 @@ module Google
class QuotaOverride
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
# for dimensions defined in the limit unit.
# For example, an override on a limit with the unit 1/`project`/`region`
@ -3976,6 +3989,7 @@ module Google
# Update properties of this object
def update!(**args)
@admin_override_ancestor = args[:admin_override_ancestor] if args.key?(:admin_override_ancestor)
@dimensions = args[:dimensions] if args.key?(:dimensions)
@metric = args[:metric] if args.key?(:metric)
@name = args[:name] if args.key?(:name)

View File

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

View File

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

View File

@ -4175,6 +4175,13 @@ module Google
class QuotaOverride
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
# for dimensions defined in the limit unit.
# For example, an override on a limit with the unit 1/`project`/`region`
@ -4238,6 +4245,7 @@ module Google
# Update properties of this object
def update!(**args)
@admin_override_ancestor = args[:admin_override_ancestor] if args.key?(:admin_override_ancestor)
@dimensions = args[:dimensions] if args.key?(:dimensions)
@metric = args[:metric] if args.key?(:metric)
@name = args[:name] if args.key?(:name)

View File

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