Class: Google::Apis::AppengineV1beta5::RequestUtilization
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AppengineV1beta5::RequestUtilization
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1beta5/classes.rb,
 generated/google/apis/appengine_v1beta5/representations.rb,
 generated/google/apis/appengine_v1beta5/representations.rb
Overview
Target scaling by request utilization. Only applicable for VM runtimes.
Instance Attribute Summary collapse
- 
  
    
      #target_concurrent_requests  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Target number of concurrent requests. 
- 
  
    
      #target_request_count_per_sec  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Target requests per second. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ RequestUtilization 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of RequestUtilization. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RequestUtilization
Returns a new instance of RequestUtilization
| 1562 1563 1564 | # File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1562 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#target_concurrent_requests ⇒ Fixnum
Target number of concurrent requests.
Corresponds to the JSON property targetConcurrentRequests
| 1555 1556 1557 | # File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1555 def target_concurrent_requests @target_concurrent_requests end | 
#target_request_count_per_sec ⇒ Fixnum
Target requests per second.
Corresponds to the JSON property targetRequestCountPerSec
| 1560 1561 1562 | # File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1560 def target_request_count_per_sec @target_request_count_per_sec end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1567 1568 1569 1570 | # File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1567 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 |