Class LoggingMetricMetricDescriptor.Jsii$Proxy

    • 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.
    • Method Detail

      • getMetricKind

        public final String getMetricKind()
        Description copied from interface: LoggingMetricMetricDescriptor
        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. Possible values: ["DELTA", "GAUGE", "CUMULATIVE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#metric_kind LoggingMetric#metric_kind}

        Specified by:
        getMetricKind in interface LoggingMetricMetricDescriptor
      • getValueType

        public final String getValueType()
        Description copied from interface: LoggingMetricMetricDescriptor
        Whether the measurement is an integer, a floating-point number, etc.

        Some combinations of metricKind and valueType might not be supported. For counter metrics, set this to INT64. Possible values: ["BOOL", "INT64", "DOUBLE", "STRING", "DISTRIBUTION", "MONEY"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#value_type LoggingMetric#value_type}

        Specified by:
        getValueType in interface LoggingMetricMetricDescriptor
      • getDisplayName

        public final String getDisplayName()
        Description copied from interface: LoggingMetricMetricDescriptor
        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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#display_name LoggingMetric#display_name}

        Specified by:
        getDisplayName in interface LoggingMetricMetricDescriptor
      • getUnit

        public final String getUnit()
        Description copied from interface: LoggingMetricMetricDescriptor
        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](http://unitsofmeasure.org/ucum.html) standard Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#unit LoggingMetric#unit}

        Specified by:
        getUnit in interface LoggingMetricMetricDescriptor
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object