class Google::Apis::AppengineV1beta5::RequestUtilization

Target scaling by request utilization. Only applicable for VM runtimes.

Attributes

target_concurrent_requests[RW]

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

target_request_count_per_sec[RW]

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

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/appengine_v1beta5/classes.rb, line 1571
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_v1beta5/classes.rb, line 1576
def update!(**args)
  @target_concurrent_requests = args[:target_concurrent_requests] if args.key?(:target_concurrent_requests)
  @target_request_count_per_sec = args[:target_request_count_per_sec] if args.key?(:target_request_count_per_sec)
end