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.
231 232 233 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 231 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`
218 219 220 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 218 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
224 225 226 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 224 def continue_uri @continue_uri end |
#scopes ⇒ Array<String>
Optional. The list of OAuth2 scopes of the AuthProvider.
Corresponds to the JSON property scopes
229 230 231 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 229 def scopes @scopes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
236 237 238 239 240 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 236 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 |