generated/google/apis/serviceconsumermanagement_v1/classes.rb in google-api-client-0.29.1 vs generated/google/apis/serviceconsumermanagement_v1/classes.rb in google-api-client-0.29.2

- old
+ new

@@ -407,36 +407,10 @@ @requirements = args[:requirements] if args.key?(:requirements) @selector = args[:selector] if args.key?(:selector) end end - # Configuration of authorization. - # This section determines the authorization provider, if unspecified, then no - # authorization check will be done. - # Example: - # experimental: - # authorization: - # provider: firebaserules.googleapis.com - class AuthorizationConfig - include Google::Apis::Core::Hashable - - # The name of the authorization provider, such as - # firebaserules.googleapis.com. - # Corresponds to the JSON property `provider` - # @return [String] - attr_accessor :provider - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @provider = args[:provider] if args.key?(:provider) - end - end - # `Backend` defines the backend configuration for a service. class Backend include Google::Apis::Core::Hashable # A list of API backend rules that apply to individual API methods. @@ -1166,36 +1140,10 @@ @number = args[:number] if args.key?(:number) @options = args[:options] if args.key?(:options) end end - # Experimental service configuration. These configuration options can - # only be used by whitelisted users. - class Experimental - include Google::Apis::Core::Hashable - - # Configuration of authorization. - # This section determines the authorization provider, if unspecified, then no - # authorization check will be done. - # Example: - # experimental: - # authorization: - # provider: firebaserules.googleapis.com - # Corresponds to the JSON property `authorization` - # @return [Google::Apis::ServiceconsumermanagementV1::AuthorizationConfig] - attr_accessor :authorization - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @authorization = args[:authorization] if args.key?(:authorization) - end - end - # A single field of a message type. class Field include Google::Apis::Core::Hashable # The field cardinality. @@ -1912,10 +1860,15 @@ # for responses that failed. # Corresponds to the JSON property `labels` # @return [Array<Google::Apis::ServiceconsumermanagementV1::LabelDescriptor>] attr_accessor :labels + # Optional. The launch stage of the metric definition. + # Corresponds to the JSON property `launchStage` + # @return [String] + attr_accessor :launch_stage + # Additional annotations that can be used to guide the usage of a metric. # Corresponds to the JSON property `metadata` # @return [Google::Apis::ServiceconsumermanagementV1::MetricDescriptorMetadata] attr_accessor :metadata @@ -2010,10 +1963,11 @@ # Update properties of this object def update!(**args) @description = args[:description] if args.key?(:description) @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) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) @unit = args[:unit] if args.key?(:unit) @@ -2030,10 +1984,11 @@ # 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. # Corresponds to the JSON property `launchStage` # @return [String] attr_accessor :launch_stage @@ -2441,11 +2396,11 @@ # @return [Hash<String,Object>] attr_accessor :metadata # The server-assigned name, which is only unique within the same service that # originally returns it. If you use the default HTTP mapping, the - # `name` should have the format of `operations/some/unique/name`. + # `name` should be a resource name ending with `operations/`unique_id``. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name # The normal response of the operation in case of success. If the original @@ -3011,16 +2966,10 @@ # - name: google.someapi.v1.SomeEnum # Corresponds to the JSON property `enums` # @return [Array<Google::Apis::ServiceconsumermanagementV1::Enum>] attr_accessor :enums - # Experimental service configuration. These configuration options can - # only be used by whitelisted users. - # Corresponds to the JSON property `experimental` - # @return [Google::Apis::ServiceconsumermanagementV1::Experimental] - attr_accessor :experimental - # Defines the HTTP configuration for an API service. It contains a list of # HttpRule, each specifying the mapping of an RPC method # to one or more HTTP REST API methods. # Corresponds to the JSON property `http` # @return [Google::Apis::ServiceconsumermanagementV1::Http] @@ -3235,10 +3184,9 @@ @control = args[:control] if args.key?(:control) @custom_error = args[:custom_error] if args.key?(:custom_error) @documentation = args[:documentation] if args.key?(:documentation) @endpoints = args[:endpoints] if args.key?(:endpoints) @enums = args[:enums] if args.key?(:enums) - @experimental = args[:experimental] if args.key?(:experimental) @http = args[:http] if args.key?(:http) @id = args[:id] if args.key?(:id) @logging = args[:logging] if args.key?(:logging) @logs = args[:logs] if args.key?(:logs) @metrics = args[:metrics] if args.key?(:metrics)