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.
4397 4398 4399 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 4397 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
Type of authentication.
Corresponds to the JSON property type
4395 4396 4397 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 4395 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4402 4403 4404 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 4402 def update!(**args) @type = args[:type] if args.key?(:type) end |