generated/google/apis/servicemanagement_v1/classes.rb in google-api-client-0.27.1 vs generated/google/apis/servicemanagement_v1/classes.rb in google-api-client-0.27.2
- old
+ new
@@ -2722,21 +2722,25 @@
# - library.googleapis.com/book/overdue_count
class Monitoring
include Google::Apis::Core::Hashable
# Monitoring configurations for sending metrics to the consumer project.
- # There can be multiple consumer destinations, each one must have a
- # different monitored resource type. A metric can be used in at most
- # one consumer destination.
+ # There can be multiple consumer destinations. A monitored resouce type may
+ # appear in multiple monitoring destinations if different aggregations are
+ # needed for different sets of metrics associated with that monitored
+ # resource type. A monitored resource and metric pair may only be used once
+ # in the Monitoring configuration.
# Corresponds to the JSON property `consumerDestinations`
# @return [Array<Google::Apis::ServicemanagementV1::MonitoringDestination>]
attr_accessor :consumer_destinations
# Monitoring configurations for sending metrics to the producer project.
- # There can be multiple producer destinations, each one must have a
- # different monitored resource type. A metric can be used in at most
- # one producer destination.
+ # There can be multiple producer destinations. A monitored resouce type may
+ # appear in multiple monitoring destinations if different aggregations are
+ # needed for different sets of metrics associated with that monitored
+ # resource type. A monitored resource and metric pair may only be used once
+ # in the Monitoring configuration.
# Corresponds to the JSON property `producerDestinations`
# @return [Array<Google::Apis::ServicemanagementV1::MonitoringDestination>]
attr_accessor :producer_destinations
def initialize(**args)
@@ -2753,12 +2757,12 @@
# Configuration of a specific monitoring destination (the producer project
# or the consumer project).
class MonitoringDestination
include Google::Apis::Core::Hashable
- # Names of the metrics to report to this monitoring destination.
- # Each name must be defined in Service.metrics section.
+ # Types of the metrics to report to this monitoring destination.
+ # Each type must be defined in Service.metrics section.
# Corresponds to the JSON property `metrics`
# @return [Array<String>]
attr_accessor :metrics
# The monitored resource type. The type must be defined in
@@ -3695,11 +3699,13 @@
# - library.googleapis.com/book/overdue_count
# Corresponds to the JSON property `monitoring`
# @return [Google::Apis::ServicemanagementV1::Monitoring]
attr_accessor :monitoring
- # The DNS address at which this service is available,
- # e.g. `calendar.googleapis.com`.
+ # The service name, which is a DNS-like logical identifier for the
+ # service, such as `calendar.googleapis.com`. The service name
+ # typically goes through DNS verification to make sure the owner
+ # of the service also owns the DNS name.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The Google project that owns this service.