Class: Google::Apis::AgentidentityV1::ApiKeyParams
- Inherits:
-
Object
- Object
- Google::Apis::AgentidentityV1::ApiKeyParams
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/agentidentity_v1/classes.rb,
lib/google/apis/agentidentity_v1/representations.rb,
lib/google/apis/agentidentity_v1/representations.rb
Overview
Message describing ApiKeyParams object.
Instance Attribute Summary collapse
-
#api_key ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApiKeyParams
constructor
A new instance of ApiKeyParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApiKeyParams
Returns a new instance of ApiKeyParams.
119 120 121 |
# File 'lib/google/apis/agentidentity_v1/classes.rb', line 119 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_key ⇒ String
Optional. Input only. The API key for this auth_provider.
Corresponds to the JSON property apiKey
117 118 119 |
# File 'lib/google/apis/agentidentity_v1/classes.rb', line 117 def api_key @api_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
124 125 126 |
# File 'lib/google/apis/agentidentity_v1/classes.rb', line 124 def update!(**args) @api_key = args[:api_key] if args.key?(:api_key) end |