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.
16966 16967 16968 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16966 def initialize(**args) update!(**args) end |
Instance Attribute Details
#secret_version_for_token ⇒ String
Corresponds to the JSON property secretVersionForToken
16959 16960 16961 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16959 def secret_version_for_token @secret_version_for_token end |
#token ⇒ String
Corresponds to the JSON property token
16964 16965 16966 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16964 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16971 16972 16973 16974 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16971 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 |