Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#secret_version_for_token ⇒ String
Corresponds to the JSON property
secretVersionForToken. -
#token ⇒ String
Corresponds to the JSON property
token.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig
constructor
A new instance of GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig
Returns a new instance of GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig.
17017 17018 17019 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17017 def initialize(**args) update!(**args) end |
Instance Attribute Details
#secret_version_for_token ⇒ String
Corresponds to the JSON property secretVersionForToken
17010 17011 17012 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17010 def secret_version_for_token @secret_version_for_token end |
#token ⇒ String
Corresponds to the JSON property token
17015 17016 17017 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17015 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17022 17023 17024 17025 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17022 def update!(**args) @secret_version_for_token = args[:secret_version_for_token] if args.key?(:secret_version_for_token) @token = args[:token] if args.key?(:token) end |