All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.AutoscalingPolicyCustomMetricUtilization.html Maven / Gradle / Ivy







AutoscalingPolicyCustomMetricUtilization (Compute Engine API v1-rev20200104-1.30.8)












com.google.api.services.compute.model

Class AutoscalingPolicyCustomMetricUtilization

    • Constructor Detail

      • AutoscalingPolicyCustomMetricUtilization

        public AutoscalingPolicyCustomMetricUtilization()
    • Method Detail

      • getMetric

        public String getMetric()
        The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values. The metric must have a value type of INT64 or DOUBLE.
        Returns:
        value or null for none
      • setMetric

        public AutoscalingPolicyCustomMetricUtilization setMetric(String metric)
        The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values. The metric must have a value type of INT64 or DOUBLE.
        Parameters:
        metric - metric or null for none
      • getUtilizationTarget

        public Double getUtilizationTarget()
        The target value of the metric that autoscaler should maintain. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric. For example, a good metric to use as a utilization_target is compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to keep this value constant for each of the instances.
        Returns:
        value or null for none
      • setUtilizationTarget

        public AutoscalingPolicyCustomMetricUtilization setUtilizationTarget(Double utilizationTarget)
        The target value of the metric that autoscaler should maintain. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric. For example, a good metric to use as a utilization_target is compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to keep this value constant for each of the instances.
        Parameters:
        utilizationTarget - utilizationTarget or null for none
      • getUtilizationTargetType

        public String getUtilizationTargetType()
        Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.
        Returns:
        value or null for none
      • setUtilizationTargetType

        public AutoscalingPolicyCustomMetricUtilization setUtilizationTargetType(String utilizationTargetType)
        Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.
        Parameters:
        utilizationTargetType - utilizationTargetType or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy