class Google::Apis::AppengineV1beta4::CpuUtilization

Target scaling by CPU usage.

Attributes

aggregation_window_length[RW]

The period of time over which CPU utilization is calculated. Corresponds to the JSON property `aggregationWindowLength` @return [String]

target_utilization[RW]

Target (0-1) CPU utilization ratio to maintain when scaling. Corresponds to the JSON property `targetUtilization` @return [Float]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/appengine_v1beta4/classes.rb, line 431
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/appengine_v1beta4/classes.rb, line 436
def update!(**args)
  @aggregation_window_length = args[:aggregation_window_length] if args.key?(:aggregation_window_length)
  @target_utilization = args[:target_utilization] if args.key?(:target_utilization)
end