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.
274 275 276 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 274 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`
261 262 263 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 261 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
267 268 269 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 267 def continue_uri @continue_uri end |
#scopes ⇒ Array<String>
Optional. The list of OAuth2 scopes of the AuthProvider.
Corresponds to the JSON property scopes
272 273 274 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 272 def scopes @scopes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
279 280 281 282 283 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 279 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 |