proto_docs/google/logging/v2/logging_metrics.rb in google-cloud-logging-v2-0.8.1 vs proto_docs/google/logging/v2/logging_metrics.rb in google-cloud-logging-v2-0.9.0

- old
+ new

@@ -54,10 +54,21 @@ # is used to match log entries. Example: # # "resource.type=gae_app AND severity>=ERROR" # # The maximum length of the filter is 20000 characters. + # @!attribute [rw] bucket_name + # @return [::String] + # Optional. The resource name of the Log Bucket that owns the Log Metric. + # Only Log Buckets in projects are supported. The bucket has to be in the + # same project as the metric. + # + # For example: + # + # `projects/my-project/locations/global/buckets/my-bucket` + # + # If empty, then the Log Metric is considered a non-Bucket Log Metric. # @!attribute [rw] disabled # @return [::Boolean] # Optional. If set to True, then this metric is disabled and it does not # generate any points. # @!attribute [rw] metric_descriptor @@ -86,11 +97,12 @@ # @!attribute [rw] value_extractor # @return [::String] # Optional. A `value_extractor` is required when using a distribution # logs-based metric to extract the values to record from a log entry. # Two functions are supported for value extraction: `EXTRACT(field)` or - # `REGEXP_EXTRACT(field, regex)`. The argument are: + # `REGEXP_EXTRACT(field, regex)`. The arguments are: + # # 1. field: The name of the log entry field from which the value is to be # extracted. # 2. regex: A regular expression using the Google RE2 syntax # (https://github.com/google/re2/wiki/Syntax) with a single capture # group to extract data from the specified log entry field. The value @@ -111,10 +123,10 @@ # Each label key specified in the LabelDescriptor must have an associated # extractor expression in this map. The syntax of the extractor expression # is the same as for the `value_extractor` field. # # The extracted value is converted to the type defined in the label - # descriptor. If the either the extraction or the type conversion fails, + # descriptor. If either the extraction or the type conversion fails, # the label will have a default value. The default value for a string # label is an empty string, for an integer label its 0, and for a boolean # label its `false`. # # Note that there are upper bounds on the maximum number of labels and the