Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
Config for authentication using bearer token.
Instance Attribute Summary collapse
-
#token ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig
Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig.
13047 13048 13049 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13047 def initialize(**args) update!(**args) end |
Instance Attribute Details
#token ⇒ String
Required. The text token appended to the text Bearer to the request
Authorization header. Session parameters reference can be used to pass the
token dynamically, e.g. $session.params.parameter-id.
Corresponds to the JSON property token
13045 13046 13047 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13045 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13052 13053 13054 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13052 def update!(**args) @token = args[:token] if args.key?(:token) end |