Class: Google::Apis::CesV1::EndUserAuthConfigOauth2AuthCodeConfig
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::EndUserAuthConfigOauth2AuthCodeConfig
- 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
Oauth 2.0 Authorization Code authentication configuration.
Instance Attribute Summary collapse
-
#oauth_token ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EndUserAuthConfigOauth2AuthCodeConfig
constructor
A new instance of EndUserAuthConfigOauth2AuthCodeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EndUserAuthConfigOauth2AuthCodeConfig
Returns a new instance of EndUserAuthConfigOauth2AuthCodeConfig.
2605 2606 2607 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2605 def initialize(**args) update!(**args) end |
Instance Attribute Details
#oauth_token ⇒ String
Required. Oauth token parameter name to pass through. Must be in the format $
context.variables..
Corresponds to the JSON property oauthToken
2603 2604 2605 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2603 def oauth_token @oauth_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2610 2611 2612 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2610 def update!(**args) @oauth_token = args[:oauth_token] if args.key?(:oauth_token) end |