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.



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

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

Instance Attribute Details

#secret_version_for_tokenString

Corresponds to the JSON property secretVersionForToken

Returns:

  • (String)


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

def secret_version_for_token
  @secret_version_for_token
end

#tokenString

Corresponds to the JSON property token

Returns:

  • (String)


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

def token
  @token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8031
8032
8033
8034
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8031

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