Class: Google::Apis::DeveloperconnectV1::ProviderOAuthConfig
- Inherits:
-
Object
- Object
- Google::Apis::DeveloperconnectV1::ProviderOAuthConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/developerconnect_v1/classes.rb,
lib/google/apis/developerconnect_v1/representations.rb,
lib/google/apis/developerconnect_v1/representations.rb
Overview
ProviderOAuthConfig is the OAuth config for a provider.
Instance Attribute Summary collapse
-
#scopes ⇒ Array<String>
Required.
-
#system_provider_id ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProviderOAuthConfig
constructor
A new instance of ProviderOAuthConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProviderOAuthConfig
Returns a new instance of ProviderOAuthConfig.
2417 2418 2419 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 2417 def initialize(**args) update!(**args) end |
Instance Attribute Details
#scopes ⇒ Array<String>
Required. User selected scopes to apply to the Oauth config In the event of
changing scopes, user records under AccountConnector will be deleted and users
will re-auth again.
Corresponds to the JSON property scopes
2410 2411 2412 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 2410 def scopes @scopes end |
#system_provider_id ⇒ String
Optional. Immutable. Developer Connect provided OAuth.
Corresponds to the JSON property systemProviderId
2415 2416 2417 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 2415 def system_provider_id @system_provider_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2422 2423 2424 2425 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 2422 def update!(**args) @scopes = args[:scopes] if args.key?(:scopes) @system_provider_id = args[:system_provider_id] if args.key?(:system_provider_id) end |