Autogenerated update (2019-10-07)

Update:
- logging_v2
- servicecontrol_v1
This commit is contained in:
Google APIs 2019-10-07 00:38:40 +00:00
parent 02e5f8af46
commit 94a1a26739
5 changed files with 19 additions and 9 deletions

View File

@ -28,7 +28,7 @@ module Google
# @see https://cloud.google.com/logging/docs/
module LoggingV2
VERSION = 'V2'
REVISION = '20190907'
REVISION = '20190927'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -401,7 +401,7 @@ module Google
include Google::Apis::Core::Hashable
# Optional. A filter that chooses which log entries to return. See Advanced Logs
# Filters. Only log entries that match the filter are returned. An empty filter
# Queries. Only log entries that match the filter are returned. An empty filter
# matches all log entries in the resources listed in resource_names. Referencing
# a parent resource that is not listed in resource_names will cause the filter
# to return no results. The maximum length of the filter is 20000 characters.
@ -1250,6 +1250,14 @@ module Google
# @return [String]
attr_accessor :metric_kind
# Read-only. If present, then a time series, which is identified partially by a
# metric type and a MonitoredResourceDescriptor, that is associated with this
# metric type can only be associated with one of the monitored resource types
# listed here.
# Corresponds to the JSON property `monitoredResourceTypes`
# @return [Array<String>]
attr_accessor :monitored_resource_types
# The resource name of the metric descriptor.
# Corresponds to the JSON property `name`
# @return [String]
@ -1336,6 +1344,7 @@ module Google
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
@metadata = args[:metadata] if args.key?(:metadata)
@metric_kind = args[:metric_kind] if args.key?(:metric_kind)
@monitored_resource_types = args[:monitored_resource_types] if args.key?(:monitored_resource_types)
@name = args[:name] if args.key?(:name)
@type = args[:type] if args.key?(:type)
@unit = args[:unit] if args.key?(:unit)
@ -1354,8 +1363,7 @@ module Google
# @return [String]
attr_accessor :ingest_delay
# Deprecated. Please use the MetricDescriptor.launch_stage instead. The launch
# stage of the metric definition.
# Deprecated. Must use the MetricDescriptor.launch_stage instead.
# Corresponds to the JSON property `launchStage`
# @return [String]
attr_accessor :launch_stage

View File

@ -474,6 +474,7 @@ module Google
property :metadata, as: 'metadata', class: Google::Apis::LoggingV2::MetricDescriptorMetadata, decorator: Google::Apis::LoggingV2::MetricDescriptorMetadata::Representation
property :metric_kind, as: 'metricKind'
collection :monitored_resource_types, as: 'monitoredResourceTypes'
property :name, as: 'name'
property :type, as: 'type'
property :unit, as: 'unit'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-control/
module ServicecontrolV1
VERSION = 'V1'
REVISION = '20190810'
REVISION = '20191003'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1670,10 +1670,11 @@ module Google
# Identity of the operation. This is expected to be unique within the scope
# of the service that generated the operation, and guarantees idempotency in
# case of retries.
# UUID version 4 is recommended, though not required. In scenarios where an
# operation is computed from existing information and an idempotent id is
# desirable for deduplication purpose, UUID version 5 is recommended. See
# RFC 4122 for details.
# In order to ensure best performance and latency in the Quota backends,
# operation_ids are optimally associated with time, so that related
# operations can be accessed fast in storage. For this reason, the
# recommended token for services that intend to operate at a high QPS is
# Unix time in nanos + UUID
# Corresponds to the JSON property `operationId`
# @return [String]
attr_accessor :operation_id