generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb in google-api-client-0.43.0 vs generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb in google-api-client-0.44.0

- old
+ new

@@ -1480,17 +1480,11 @@ end end # 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. The following are specific rules for service defined - # Monitoring metric descriptors: * `type`, `metric_kind`, `value_type` and ` - # description` 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 + # existing data unusable. class MetricDescriptor include Google::Apis::Core::Hashable # A detailed description of the metric, which can be used in documentation. # Corresponds to the JSON property `description` @@ -1504,16 +1498,14 @@ # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name # The set of labels that can be used to describe a specific instance of this - # 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. + # 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. # Corresponds to the JSON property `labels` # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::LabelDescriptor>] attr_accessor :labels # Optional. The launch stage of the metric definition. @@ -1544,20 +1536,15 @@ # Corresponds to the JSON property `name` # @return [String] attr_accessor :name # The metric type, including its DNS name prefix. The type is not URL-encoded. - # 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" + # 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: "custom.googleapis.com/invoice/paid/amount" "external. + # googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/ + # response_latencies" # Corresponds to the JSON property `type` # @return [String] attr_accessor :type # The units in which the metric value is reported. It is only applicable if the ` @@ -1719,11 +1706,11 @@ # api.http).get = "/v2/`resource=**`"; ` ` Example of a mixin configuration: # apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1. # AccessControl The mixin construct implies that all methods in `AccessControl` # are also declared with same name and request/response types in `Storage`. A # documentation generator or annotation processor will see the effective ` - # Storage.GetAcl` method after inherting documentation and annotations as + # Storage.GetAcl` method after inheriting documentation and annotations as # follows: service Storage ` // Get the underlying ACL object. rpc GetAcl( # GetAclRequest) returns (Acl) ` option (google.api.http).get = "/v2/`resource=** # `:getAcl"; ` ... ` Note how the version in the path pattern changed from `v1` # to `v2`. If the `root` field in the mixin is specified, it should be a # relative path under which inherited HTTP paths are placed. Example: apis: - @@ -1757,20 +1744,13 @@ # An object that describes the schema of a MonitoredResource object using a type # 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 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 + # 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. class MonitoredResourceDescriptor include Google::Apis::Core::Hashable # Optional. A detailed description of the monitored resource type that might be # used in documentation. @@ -1784,15 +1764,12 @@ # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name # Required. A set of labels used to describe instances of this monitored - # 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`. + # resource type. For example, an individual Google Cloud SQL database is + # identified by values for the labels `"database_id"` and `"zone"`. # Corresponds to the JSON property `labels` # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::LabelDescriptor>] attr_accessor :labels # Optional. The launch stage of the monitored resource definition. @@ -1808,19 +1785,12 @@ # type`"`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # 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. + # Required. The monitored resource type. For example, the type `" + # cloudsql_database"` represents databases in Google Cloud SQL. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type def initialize(**args) @@ -3213,10 +3183,10 @@ class V1Beta1OverrideInlineSource include Google::Apis::Core::Hashable # The overrides to create. Each override must have a value for 'metric' and ' # unit', to specify which metric and which limit the override should be applied - # to. + # to. The 'name' field of the override does not need to be set; it is ignored. # Corresponds to the JSON property `overrides` # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1QuotaOverride>] attr_accessor :overrides def initialize(**args)