Class: Google::Apis::AgentidentityV1::AuthProviderTypeParams
- Inherits:
-
Object
- Object
- Google::Apis::AgentidentityV1::AuthProviderTypeParams
- 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
AuthProvider type specific parameters. Required when creating an auth_provider.
Instance Attribute Summary collapse
-
#api_key ⇒ Google::Apis::AgentidentityV1::ApiKeyParams
Message describing ApiKeyParams object.
-
#ge_auth_provider ⇒ Google::Apis::AgentidentityV1::GeminiEnterpriseAuthProviderParams
Message describing GeminiEnterpriseAuthProviderParams object.
-
#three_legged_oauth ⇒ Google::Apis::AgentidentityV1::ThreeLeggedOAuth
Message describing ThreeLeggedOAuth object.
-
#two_legged_oauth ⇒ Google::Apis::AgentidentityV1::TwoLeggedOAuth
Message describing TwoLeggedOAuth object.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthProviderTypeParams
constructor
A new instance of AuthProviderTypeParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuthProviderTypeParams
Returns a new instance of AuthProviderTypeParams.
321 322 323 |
# File 'lib/google/apis/agentidentity_v1/classes.rb', line 321 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_key ⇒ Google::Apis::AgentidentityV1::ApiKeyParams
Message describing ApiKeyParams object.
Corresponds to the JSON property apiKey
304 305 306 |
# File 'lib/google/apis/agentidentity_v1/classes.rb', line 304 def api_key @api_key end |
#ge_auth_provider ⇒ Google::Apis::AgentidentityV1::GeminiEnterpriseAuthProviderParams
Message describing GeminiEnterpriseAuthProviderParams object.
Corresponds to the JSON property geAuthProvider
309 310 311 |
# File 'lib/google/apis/agentidentity_v1/classes.rb', line 309 def ge_auth_provider @ge_auth_provider end |
#three_legged_oauth ⇒ Google::Apis::AgentidentityV1::ThreeLeggedOAuth
Message describing ThreeLeggedOAuth object.
Corresponds to the JSON property threeLeggedOauth
314 315 316 |
# File 'lib/google/apis/agentidentity_v1/classes.rb', line 314 def three_legged_oauth @three_legged_oauth end |
#two_legged_oauth ⇒ Google::Apis::AgentidentityV1::TwoLeggedOAuth
Message describing TwoLeggedOAuth object.
Corresponds to the JSON property twoLeggedOauth
319 320 321 |
# File 'lib/google/apis/agentidentity_v1/classes.rb', line 319 def two_legged_oauth @two_legged_oauth end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
326 327 328 329 330 331 |
# File 'lib/google/apis/agentidentity_v1/classes.rb', line 326 def update!(**args) @api_key = args[:api_key] if args.key?(:api_key) @ge_auth_provider = args[:ge_auth_provider] if args.key?(:ge_auth_provider) @three_legged_oauth = args[:three_legged_oauth] if args.key?(:three_legged_oauth) @two_legged_oauth = args[:two_legged_oauth] if args.key?(:two_legged_oauth) end |