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.
13069 13070 13071 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13069 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
13067 13068 13069 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13067 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13074 13075 13076 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13074 def update!(**args) @token = args[:token] if args.key?(:token) end |