Class: Google::Apis::CesV1::BearerTokenConfig
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::BearerTokenConfig
- 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
Configurations for authentication with a bearer token.
Instance Attribute Summary collapse
-
#token ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BearerTokenConfig
constructor
A new instance of BearerTokenConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BearerTokenConfig
Returns a new instance of BearerTokenConfig.
1042 1043 1044 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1042 def initialize(**args) update!(**args) end |
Instance Attribute Details
#token ⇒ String
Required. The bearer token. Must be in the format $context.variables..
Corresponds to the JSON property token
1040 1041 1042 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1040 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1047 1048 1049 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1047 def update!(**args) @token = args[:token] if args.key?(:token) end |