Class: Google::Cloud::Compute::V1::AutoscalingPolicyCustomMetricUtilization

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

Custom utilization metric policy.

Defined Under Namespace

Modules: UtilizationTargetType

Instance Attribute Summary collapse

Instance Attribute Details

#filter::String



2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2449

class AutoscalingPolicyCustomMetricUtilization
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.
  module UtilizationTargetType
    # A value indicating that the enum field is not set.
    UNDEFINED_UTILIZATION_TARGET_TYPE = 0

    # Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per minute.
    DELTA_PER_MINUTE = 87432861

    # Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per second.
    DELTA_PER_SECOND = 255180029

    # Sets the utilization target value for a gauge metric. The autoscaler will collect the average utilization of the virtual machines from the last couple of minutes, and compare the value to the utilization target value to perform autoscaling.
    GAUGE = 67590361
  end
end

#metric::String



2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2449

class AutoscalingPolicyCustomMetricUtilization
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.
  module UtilizationTargetType
    # A value indicating that the enum field is not set.
    UNDEFINED_UTILIZATION_TARGET_TYPE = 0

    # Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per minute.
    DELTA_PER_MINUTE = 87432861

    # Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per second.
    DELTA_PER_SECOND = 255180029

    # Sets the utilization target value for a gauge metric. The autoscaler will collect the average utilization of the virtual machines from the last couple of minutes, and compare the value to the utilization target value to perform autoscaling.
    GAUGE = 67590361
  end
end

#single_instance_assignment::Float



2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2449

class AutoscalingPolicyCustomMetricUtilization
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.
  module UtilizationTargetType
    # A value indicating that the enum field is not set.
    UNDEFINED_UTILIZATION_TARGET_TYPE = 0

    # Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per minute.
    DELTA_PER_MINUTE = 87432861

    # Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per second.
    DELTA_PER_SECOND = 255180029

    # Sets the utilization target value for a gauge metric. The autoscaler will collect the average utilization of the virtual machines from the last couple of minutes, and compare the value to the utilization target value to perform autoscaling.
    GAUGE = 67590361
  end
end

#utilization_target::Float



2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2449

class AutoscalingPolicyCustomMetricUtilization
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.
  module UtilizationTargetType
    # A value indicating that the enum field is not set.
    UNDEFINED_UTILIZATION_TARGET_TYPE = 0

    # Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per minute.
    DELTA_PER_MINUTE = 87432861

    # Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per second.
    DELTA_PER_SECOND = 255180029

    # Sets the utilization target value for a gauge metric. The autoscaler will collect the average utilization of the virtual machines from the last couple of minutes, and compare the value to the utilization target value to perform autoscaling.
    GAUGE = 67590361
  end
end

#utilization_target_type::String



2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2449

class AutoscalingPolicyCustomMetricUtilization
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.
  module UtilizationTargetType
    # A value indicating that the enum field is not set.
    UNDEFINED_UTILIZATION_TARGET_TYPE = 0

    # Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per minute.
    DELTA_PER_MINUTE = 87432861

    # Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per second.
    DELTA_PER_SECOND = 255180029

    # Sets the utilization target value for a gauge metric. The autoscaler will collect the average utilization of the virtual machines from the last couple of minutes, and compare the value to the utilization target value to perform autoscaling.
    GAUGE = 67590361
  end
end