Class LoggingMetricConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.logging_metric.LoggingMetricConfig.Jsii$Proxy
-
- All Implemented Interfaces:
LoggingMetricConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- LoggingMetricConfig
@Stability(Stable) @Internal public static final class LoggingMetricConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LoggingMetricConfig
An implementation forLoggingMetricConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.logging_metric.LoggingMetricConfig
LoggingMetricConfig.Builder, LoggingMetricConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(LoggingMetricConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theLoggingMetricConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetBucketName()The resource name of the Log Bucket that owns the Log Metric.LoggingMetricBucketOptionsgetBucketOptions()bucket_options block.ObjectgetConnection()ObjectgetCount()List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()StringgetDescription()A description of this metric, which is used in documentation.ObjectgetDisabled()If set to True, then this metric is disabled and it does not generate any points.StringgetFilter()An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-filters) which is used to match log entries.com.hashicorp.cdktf.ITerraformIteratorgetForEach()StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#id LoggingMetric#id}.Map<String,String>getLabelExtractors()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.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()LoggingMetricMetricDescriptorgetMetricDescriptor()metric_descriptor block.StringgetName()The client-assigned metric identifier.StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#project LoggingMetric#project}.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()LoggingMetricTimeoutsgetTimeouts()timeouts block.StringgetValueExtractor()A valueExtractor is required when using a distribution logs-based metric to extract the values to record from a log entry.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(LoggingMetricConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theLoggingMetricConfig.Builder.
-
-
Method Detail
-
getFilter
public final String getFilter()
Description copied from interface:LoggingMetricConfigAn advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-filters) which is used to match log entries.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#filter LoggingMetric#filter}
- Specified by:
getFilterin interfaceLoggingMetricConfig
-
getName
public final String getName()
Description copied from interface:LoggingMetricConfigThe 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#name LoggingMetric#name}
- Specified by:
getNamein interfaceLoggingMetricConfig
-
getBucketName
public final String getBucketName()
Description copied from interface:LoggingMetricConfigThe 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#bucket_name LoggingMetric#bucket_name}
- Specified by:
getBucketNamein interfaceLoggingMetricConfig
-
getBucketOptions
public final LoggingMetricBucketOptions getBucketOptions()
Description copied from interface:LoggingMetricConfigbucket_options block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#bucket_options LoggingMetric#bucket_options}
- Specified by:
getBucketOptionsin interfaceLoggingMetricConfig
-
getDescription
public final String getDescription()
Description copied from interface:LoggingMetricConfigA description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#description LoggingMetric#description}
- Specified by:
getDescriptionin interfaceLoggingMetricConfig
-
getDisabled
public final Object getDisabled()
Description copied from interface:LoggingMetricConfigIf set to True, then this metric is disabled and it does not generate any points.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#disabled LoggingMetric#disabled}
- Specified by:
getDisabledin interfaceLoggingMetricConfig
-
getId
public final String getId()
Description copied from interface:LoggingMetricConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#id LoggingMetric#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Specified by:
getIdin interfaceLoggingMetricConfig
-
getLabelExtractors
public final Map<String,String> getLabelExtractors()
Description copied from interface:LoggingMetricConfigA 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#label_extractors LoggingMetric#label_extractors}
- Specified by:
getLabelExtractorsin interfaceLoggingMetricConfig
-
getMetricDescriptor
public final LoggingMetricMetricDescriptor getMetricDescriptor()
Description copied from interface:LoggingMetricConfigmetric_descriptor block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#metric_descriptor LoggingMetric#metric_descriptor}
- Specified by:
getMetricDescriptorin interfaceLoggingMetricConfig
-
getProject
public final String getProject()
Description copied from interface:LoggingMetricConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#project LoggingMetric#project}.- Specified by:
getProjectin interfaceLoggingMetricConfig
-
getTimeouts
public final LoggingMetricTimeouts getTimeouts()
Description copied from interface:LoggingMetricConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#timeouts LoggingMetric#timeouts}
- Specified by:
getTimeoutsin interfaceLoggingMetricConfig
-
getValueExtractor
public final String getValueExtractor()
Description copied from interface:LoggingMetricConfigA 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#value_extractor LoggingMetric#value_extractor}
- Specified by:
getValueExtractorin interfaceLoggingMetricConfig
-
getConnection
public final Object getConnection()
- Specified by:
getConnectionin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getCount
public final Object getCount()
- Specified by:
getCountin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getDependsOn
public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
- Specified by:
getDependsOnin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getForEach
public final com.hashicorp.cdktf.ITerraformIterator getForEach()
- Specified by:
getForEachin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getLifecycle
public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
- Specified by:
getLifecyclein interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvider
public final com.hashicorp.cdktf.TerraformProvider getProvider()
- Specified by:
getProviderin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvisioners
public final List<Object> getProvisioners()
- Specified by:
getProvisionersin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-