class Google::Apis::AppengineV1beta::RequestUtilization

Target scaling by request utilization. Only applicable in the App Engine flexible environment.

Attributes

target_concurrent_requests[RW]

Target number of concurrent requests. Corresponds to the JSON property `targetConcurrentRequests` @return [Fixnum]

target_request_count_per_second[RW]

Target requests per second. Corresponds to the JSON property `targetRequestCountPerSecond` @return [Fixnum]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/appengine_v1beta/classes.rb, line 2445
def update!(**args)
  @target_concurrent_requests = args[:target_concurrent_requests] if args.key?(:target_concurrent_requests)
  @target_request_count_per_second = args[:target_request_count_per_second] if args.key?(:target_request_count_per_second)
end