Metric

Logs-based metric can also be used to extract values from logs and create a a distribution of the values. The distribution records the statistics of the extracted values along with an optional histogram of the values as specified by the bucket options.

To get more information about Metric, see:

Create a Metric Resource

new Metric(name: string, args: MetricArgs, opts?: CustomResourceOptions);
def Metric(resource_name, opts=None, bucket_options=None, description=None, filter=None, label_extractors=None, metric_descriptor=None, name=None, project=None, value_extractor=None, __props__=None);
func NewMetric(ctx *Context, name string, args MetricArgs, opts ...ResourceOption) (*Metric, error)
public Metric(string name, MetricArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args MetricArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args MetricArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args MetricArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Metric Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Metric resource accepts the following input properties:

Filter string

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-filters) which is used to match log entries.

MetricDescriptor MetricMetricDescriptorArgs

The metric descriptor associated with the logs-based metric. Structure is documented below.

BucketOptions MetricBucketOptionsArgs

The bucketOptions are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket boundaries used to create a histogram of the extracted values. Structure is documented below.

Description string

A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.

LabelExtractors Dictionary<string, string>

A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value. 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 valueExtractor field.

Name string

The client-assigned metric identifier. Examples - “error_count”, “nginx/requests”. Metric identifiers are limited to 100 characters and can include only the following characters A-Z, a-z, 0-9, and the special characters _-.,+!*‘,()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

ValueExtractor string

A valueExtractor 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 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 of the field is converted to a string before applying the regex. It is an error to specify a regex that does not include exactly one capture group.

Filter string

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-filters) which is used to match log entries.

MetricDescriptor MetricMetricDescriptor

The metric descriptor associated with the logs-based metric. Structure is documented below.

BucketOptions MetricBucketOptions

The bucketOptions are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket boundaries used to create a histogram of the extracted values. Structure is documented below.

Description string

A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.

LabelExtractors map[string]string

A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value. 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 valueExtractor field.

Name string

The client-assigned metric identifier. Examples - “error_count”, “nginx/requests”. Metric identifiers are limited to 100 characters and can include only the following characters A-Z, a-z, 0-9, and the special characters _-.,+!*‘,()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

ValueExtractor string

A valueExtractor 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 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 of the field is converted to a string before applying the regex. It is an error to specify a regex that does not include exactly one capture group.

filter string

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-filters) which is used to match log entries.

metricDescriptor MetricMetricDescriptor

The metric descriptor associated with the logs-based metric. Structure is documented below.

bucketOptions MetricBucketOptions

The bucketOptions are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket boundaries used to create a histogram of the extracted values. Structure is documented below.

description string

A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.

labelExtractors {[key: string]: string}

A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value. 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 valueExtractor field.

name string

The client-assigned metric identifier. Examples - “error_count”, “nginx/requests”. Metric identifiers are limited to 100 characters and can include only the following characters A-Z, a-z, 0-9, and the special characters _-.,+!*‘,()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.

project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

valueExtractor string

A valueExtractor 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 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 of the field is converted to a string before applying the regex. It is an error to specify a regex that does not include exactly one capture group.

filter str

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-filters) which is used to match log entries.

metric_descriptor Dict[MetricMetricDescriptor]

The metric descriptor associated with the logs-based metric. Structure is documented below.

bucket_options Dict[MetricBucketOptions]

The bucketOptions are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket boundaries used to create a histogram of the extracted values. Structure is documented below.

description str

A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.

label_extractors Dict[str, str]

A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value. 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 valueExtractor field.

name str

The client-assigned metric identifier. Examples - “error_count”, “nginx/requests”. Metric identifiers are limited to 100 characters and can include only the following characters A-Z, a-z, 0-9, and the special characters _-.,+!*‘,()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.

project str

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

value_extractor str

A valueExtractor 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 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 of the field is converted to a string before applying the regex. It is an error to specify a regex that does not include exactly one capture group.

Outputs

All input properties are implicitly available as output properties. Additionally, the Metric resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Metric Resource

Get an existing Metric resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: MetricState, opts?: CustomResourceOptions): Metric
static get(resource_name, id, opts=None, bucket_options=None, description=None, filter=None, label_extractors=None, metric_descriptor=None, name=None, project=None, value_extractor=None, __props__=None);
func GetMetric(ctx *Context, name string, id IDInput, state *MetricState, opts ...ResourceOption) (*Metric, error)
public static Metric Get(string name, Input<string> id, MetricState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

BucketOptions MetricBucketOptionsArgs

The bucketOptions are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket boundaries used to create a histogram of the extracted values. Structure is documented below.

Description string

A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.

Filter string

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-filters) which is used to match log entries.

LabelExtractors Dictionary<string, string>

A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value. 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 valueExtractor field.

MetricDescriptor MetricMetricDescriptorArgs

The metric descriptor associated with the logs-based metric. Structure is documented below.

Name string

The client-assigned metric identifier. Examples - “error_count”, “nginx/requests”. Metric identifiers are limited to 100 characters and can include only the following characters A-Z, a-z, 0-9, and the special characters _-.,+!*‘,()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

ValueExtractor string

A valueExtractor 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 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 of the field is converted to a string before applying the regex. It is an error to specify a regex that does not include exactly one capture group.

BucketOptions MetricBucketOptions

The bucketOptions are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket boundaries used to create a histogram of the extracted values. Structure is documented below.

Description string

A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.

Filter string

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-filters) which is used to match log entries.

LabelExtractors map[string]string

A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value. 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 valueExtractor field.

MetricDescriptor MetricMetricDescriptor

The metric descriptor associated with the logs-based metric. Structure is documented below.

Name string

The client-assigned metric identifier. Examples - “error_count”, “nginx/requests”. Metric identifiers are limited to 100 characters and can include only the following characters A-Z, a-z, 0-9, and the special characters _-.,+!*‘,()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

ValueExtractor string

A valueExtractor 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 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 of the field is converted to a string before applying the regex. It is an error to specify a regex that does not include exactly one capture group.

bucketOptions MetricBucketOptions

The bucketOptions are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket boundaries used to create a histogram of the extracted values. Structure is documented below.

description string

A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.

filter string

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-filters) which is used to match log entries.

labelExtractors {[key: string]: string}

A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value. 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 valueExtractor field.

metricDescriptor MetricMetricDescriptor

The metric descriptor associated with the logs-based metric. Structure is documented below.

name string

The client-assigned metric identifier. Examples - “error_count”, “nginx/requests”. Metric identifiers are limited to 100 characters and can include only the following characters A-Z, a-z, 0-9, and the special characters _-.,+!*‘,()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.

project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

valueExtractor string

A valueExtractor 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 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 of the field is converted to a string before applying the regex. It is an error to specify a regex that does not include exactly one capture group.

bucket_options Dict[MetricBucketOptions]

The bucketOptions are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket boundaries used to create a histogram of the extracted values. Structure is documented below.

description str

A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.

filter str

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-filters) which is used to match log entries.

label_extractors Dict[str, str]

A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value. 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 valueExtractor field.

metric_descriptor Dict[MetricMetricDescriptor]

The metric descriptor associated with the logs-based metric. Structure is documented below.

name str

The client-assigned metric identifier. Examples - “error_count”, “nginx/requests”. Metric identifiers are limited to 100 characters and can include only the following characters A-Z, a-z, 0-9, and the special characters _-.,+!*‘,()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.

project str

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

value_extractor str

A valueExtractor 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 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 of the field is converted to a string before applying the regex. It is an error to specify a regex that does not include exactly one capture group.

Supporting Types

MetricBucketOptions

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ExplicitBuckets MetricBucketOptionsExplicitBucketsArgs

Specifies a set of buckets with arbitrary widths. Structure is documented below.

ExponentialBuckets MetricBucketOptionsExponentialBucketsArgs

Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket. Structure is documented below.

LinearBuckets MetricBucketOptionsLinearBucketsArgs

Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket. Structure is documented below.

ExplicitBuckets MetricBucketOptionsExplicitBuckets

Specifies a set of buckets with arbitrary widths. Structure is documented below.

ExponentialBuckets MetricBucketOptionsExponentialBuckets

Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket. Structure is documented below.

LinearBuckets MetricBucketOptionsLinearBuckets

Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket. Structure is documented below.

explicitBuckets MetricBucketOptionsExplicitBuckets

Specifies a set of buckets with arbitrary widths. Structure is documented below.

exponentialBuckets MetricBucketOptionsExponentialBuckets

Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket. Structure is documented below.

linearBuckets MetricBucketOptionsLinearBuckets

Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket. Structure is documented below.

explicitBuckets Dict[MetricBucketOptionsExplicitBuckets]

Specifies a set of buckets with arbitrary widths. Structure is documented below.

exponentialBuckets Dict[MetricBucketOptionsExponentialBuckets]

Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket. Structure is documented below.

linearBuckets Dict[MetricBucketOptionsLinearBuckets]

Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket. Structure is documented below.

MetricBucketOptionsExplicitBuckets

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Bounds List<double>

The values must be monotonically increasing.

Bounds []float64

The values must be monotonically increasing.

bounds number[]

The values must be monotonically increasing.

bounds List[Number]

The values must be monotonically increasing.

MetricBucketOptionsExponentialBuckets

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

GrowthFactor double

Must be greater than 1.

NumFiniteBuckets int

Must be greater than 0.

Scale double

Must be greater than 0.

GrowthFactor float64

Must be greater than 1.

NumFiniteBuckets int

Must be greater than 0.

Scale float64

Must be greater than 0.

growthFactor number

Must be greater than 1.

numFiniteBuckets number

Must be greater than 0.

scale number

Must be greater than 0.

growthFactor float

Must be greater than 1.

numFiniteBuckets float

Must be greater than 0.

scale float

Must be greater than 0.

MetricBucketOptionsLinearBuckets

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

NumFiniteBuckets int

Must be greater than 0.

Offset double

Lower bound of the first bucket.

Width int

Must be greater than 0.

NumFiniteBuckets int

Must be greater than 0.

Offset float64

Lower bound of the first bucket.

Width int

Must be greater than 0.

numFiniteBuckets number

Must be greater than 0.

offset number

Lower bound of the first bucket.

width number

Must be greater than 0.

numFiniteBuckets float

Must be greater than 0.

offset float

Lower bound of the first bucket.

width float

Must be greater than 0.

MetricMetricDescriptor

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

MetricKind string

Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metricKind and valueType might not be supported. For counter metrics, set this to DELTA.

ValueType string

The type of data that can be assigned to the label.

DisplayName string

A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example “Request count”. This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.

Labels List<MetricMetricDescriptorLabelArgs>

The set of labels that can be used to describe a specific instance of this 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. Structure is documented below.

Unit string

The unit in which the metric value is reported. It is only applicable if the valueType is INT64, DOUBLE, or DISTRIBUTION. The supported units are a subset of The Unified Code for Units of Measure standard

MetricKind string

Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metricKind and valueType might not be supported. For counter metrics, set this to DELTA.

ValueType string

The type of data that can be assigned to the label.

DisplayName string

A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example “Request count”. This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.

Labels []MetricMetricDescriptorLabel

The set of labels that can be used to describe a specific instance of this 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. Structure is documented below.

Unit string

The unit in which the metric value is reported. It is only applicable if the valueType is INT64, DOUBLE, or DISTRIBUTION. The supported units are a subset of The Unified Code for Units of Measure standard

metricKind string

Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metricKind and valueType might not be supported. For counter metrics, set this to DELTA.

valueType string

The type of data that can be assigned to the label.

displayName string

A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example “Request count”. This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.

labels MetricMetricDescriptorLabel[]

The set of labels that can be used to describe a specific instance of this 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. Structure is documented below.

unit string

The unit in which the metric value is reported. It is only applicable if the valueType is INT64, DOUBLE, or DISTRIBUTION. The supported units are a subset of The Unified Code for Units of Measure standard

metricKind str

Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metricKind and valueType might not be supported. For counter metrics, set this to DELTA.

valueType str

The type of data that can be assigned to the label.

display_name str

A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example “Request count”. This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.

labels List[MetricMetricDescriptorLabel]

The set of labels that can be used to describe a specific instance of this 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. Structure is documented below.

unit str

The unit in which the metric value is reported. It is only applicable if the valueType is INT64, DOUBLE, or DISTRIBUTION. The supported units are a subset of The Unified Code for Units of Measure standard

MetricMetricDescriptorLabel

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Key string

The label key.

Description string

A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.

ValueType string

The type of data that can be assigned to the label.

Key string

The label key.

Description string

A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.

ValueType string

The type of data that can be assigned to the label.

key string

The label key.

description string

A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.

valueType string

The type of data that can be assigned to the label.

key str

The label key.

description str

A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.

valueType str

The type of data that can be assigned to the label.

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.