Class: Google::Cloud::Dialogflow::V2::Tool::Authentication::BearerTokenConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/tool.rb

Overview

Config for authentication using bearer token.

Instance Attribute Summary collapse

Instance Attribute Details

#secret_version_for_token::String

Returns Optional. The name of the SecretManager secret version resource storing the Bearer token. If this field is set, the token field will be ignored. Format: projects/{project}/secrets/{secret}/versions/{version}.

Returns:

  • (::String)

    Optional. The name of the SecretManager secret version resource storing the Bearer token. If this field is set, the token field will be ignored. Format: projects/{project}/secrets/{secret}/versions/{version}



440
441
442
443
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 440

class BearerTokenConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#token::String

Returns Optional. 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.

Returns:

  • (::String)

    Optional. 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.



440
441
442
443
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 440

class BearerTokenConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end