Class: Google::Apis::CesV1::LfA2aV1ClientCredentialsOAuthFlow
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::LfA2aV1ClientCredentialsOAuthFlow
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Defines configuration details for the OAuth 2.0 Client Credentials flow.
Instance Attribute Summary collapse
-
#refresh_url ⇒ String
The URL to be used for obtaining refresh tokens.
-
#scopes ⇒ Hash<String,String>
Required.
-
#token_url ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LfA2aV1ClientCredentialsOAuthFlow
constructor
A new instance of LfA2aV1ClientCredentialsOAuthFlow.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LfA2aV1ClientCredentialsOAuthFlow
Returns a new instance of LfA2aV1ClientCredentialsOAuthFlow.
4871 4872 4873 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4871 def initialize(**args) update!(**args) end |
Instance Attribute Details
#refresh_url ⇒ String
The URL to be used for obtaining refresh tokens.
Corresponds to the JSON property refreshUrl
4859 4860 4861 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4859 def refresh_url @refresh_url end |
#scopes ⇒ Hash<String,String>
Required. The available scopes for the OAuth2 security scheme.
Corresponds to the JSON property scopes
4864 4865 4866 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4864 def scopes @scopes end |
#token_url ⇒ String
Required. The token URL to be used for this flow.
Corresponds to the JSON property tokenUrl
4869 4870 4871 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4869 def token_url @token_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4876 4877 4878 4879 4880 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4876 def update!(**args) @refresh_url = args[:refresh_url] if args.key?(:refresh_url) @scopes = args[:scopes] if args.key?(:scopes) @token_url = args[:token_url] if args.key?(:token_url) end |