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.
2780 2781 2782 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2780 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
2778 2779 2780 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2778 def oauth_token @oauth_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2785 2786 2787 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2785 def update!(**args) @oauth_token = args[:oauth_token] if args.key?(:oauth_token) end |