Class: Google::Apis::MonitoringV3::CloudRun
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::MonitoringV3::CloudRun
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/monitoring_v3/classes.rb,
lib/google/apis/monitoring_v3/representations.rb,
lib/google/apis/monitoring_v3/representations.rb 
Overview
Cloud Run service. Learn more at https://cloud.google.com/run.
Instance Attribute Summary collapse
- 
  
    
      #location  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The location the service is run.
 - 
  
    
      #service_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the Cloud Run service.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CloudRun 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CloudRun.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ CloudRun
Returns a new instance of CloudRun.
      574 575 576  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 574 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#location ⇒ String
The location the service is run. Corresponds to the location resource label in
the cloud_run_revision monitored resource (https://cloud.google.com/monitoring/
api/resources#tag_cloud_run_revision).
Corresponds to the JSON property location
      565 566 567  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 565 def location @location end  | 
  
#service_name ⇒ String
The name of the Cloud Run service. Corresponds to the service_name resource
label in the cloud_run_revision monitored resource (https://cloud.google.com/
monitoring/api/resources#tag_cloud_run_revision).
Corresponds to the JSON property serviceName
      572 573 574  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 572 def service_name @service_name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      579 580 581 582  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 579 def update!(**args) @location = args[:location] if args.key?(:location) @service_name = args[:service_name] if args.key?(:service_name) end  |