Class: Google::Apis::MonitoringV3::ServiceAgentAuthentication
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::MonitoringV3::ServiceAgentAuthentication
 
 
- 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
Contains information needed for generating either an OpenID Connect token ( https://developers.google.com/identity/protocols/OpenIDConnect) or OAuth token (https://developers.google.com/identity/protocols/oauth2). The token will be generated for the Monitoring service agent service account.
Instance Attribute Summary collapse
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Type of authentication.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ServiceAgentAuthentication 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ServiceAgentAuthentication.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ServiceAgentAuthentication
Returns a new instance of ServiceAgentAuthentication.
      4247 4248 4249  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 4247 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#type ⇒ String
Type of authentication.
Corresponds to the JSON property type
      4245 4246 4247  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 4245 def type @type end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      4252 4253 4254  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 4252 def update!(**args) @type = args[:type] if args.key?(:type) end  |