Class: Google::Apis::AgentregistryV1alpha::AuthProviderBinding
- Inherits:
-
Object
- Object
- Google::Apis::AgentregistryV1alpha::AuthProviderBinding
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/agentregistry_v1alpha/classes.rb,
lib/google/apis/agentregistry_v1alpha/representations.rb,
lib/google/apis/agentregistry_v1alpha/representations.rb
Overview
The AuthProvider of the Binding.
Instance Attribute Summary collapse
-
#auth_provider ⇒ String
Required.
-
#continue_uri ⇒ String
Optional.
-
#scopes ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthProviderBinding
constructor
A new instance of AuthProviderBinding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuthProviderBinding
Returns a new instance of AuthProviderBinding.
295 296 297 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 295 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auth_provider ⇒ String
Required. The resource name of the target AuthProvider. Format: * projects/
project/locations/location/authProviders/auth_provider`
Corresponds to the JSON propertyauthProvider`
282 283 284 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 282 def auth_provider @auth_provider end |
#continue_uri ⇒ String
Optional. The continue URI of the AuthProvider. The URI is used to
reauthenticate the user and finalize the managed OAuth flow.
Corresponds to the JSON property continueUri
288 289 290 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 288 def continue_uri @continue_uri end |
#scopes ⇒ Array<String>
Optional. The list of OAuth2 scopes of the AuthProvider.
Corresponds to the JSON property scopes
293 294 295 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 293 def scopes @scopes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
300 301 302 303 304 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 300 def update!(**args) @auth_provider = args[:auth_provider] if args.key?(:auth_provider) @continue_uri = args[:continue_uri] if args.key?(:continue_uri) @scopes = args[:scopes] if args.key?(:scopes) end |