Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::CpuUtilization.
Target scaling by CPU usage.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#aggregation_window_length
def aggregation_window_length() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Period of time over which CPU utilization is calculated.
#aggregation_window_length=
def aggregation_window_length=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Period of time over which CPU utilization is calculated.
Returns
- (::Google::Protobuf::Duration) — Period of time over which CPU utilization is calculated.
#target_utilization
def target_utilization() -> ::Float
Returns
- (::Float) — Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
#target_utilization=
def target_utilization=(value) -> ::Float
Parameter
- value (::Float) — Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
Returns
- (::Float) — Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.