generated/google/apis/servicenetworking_v1/classes.rb in google-api-client-0.31.0 vs generated/google/apis/servicenetworking_v1/classes.rb in google-api-client-0.32.0

- old
+ new

@@ -1900,10 +1900,19 @@ # Some combinations of `metric_kind` and `value_type` might not be supported. # Corresponds to the JSON property `metricKind` # @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] attr_accessor :name @@ -1990,10 +1999,11 @@ @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @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) @value_type = args[:value_type] if args.key?(:value_type) end @@ -2008,11 +2018,10 @@ # data loss due to errors. # Corresponds to the JSON property `ingestDelay` # @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 # The sampling period of metric data points. For metrics which are written