Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationBearerTokenConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ToolAuthenticationBearerTokenConfig

Returns a new instance of GoogleCloudDialogflowCxV3ToolAuthenticationBearerTokenConfig.



8020
8021
8022
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8020

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#secret_version_for_tokenString

Corresponds to the JSON property secretVersionForToken

Returns:

  • (String)


8013
8014
8015
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8013

def secret_version_for_token
  @secret_version_for_token
end

#tokenString

Corresponds to the JSON property token

Returns:

  • (String)


8018
8019
8020
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8018

def token
  @token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8025
8026
8027
8028
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8025

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