Class: Google::Cloud::Dialogflow::V2::Tool::Authentication::ApiKeyConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Tool::Authentication::ApiKeyConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/tool.rb
Overview
Config for authentication with API key.
Instance Attribute Summary collapse
-
#api_key ⇒ ::String
Optional.
-
#key_name ⇒ ::String
Required.
-
#request_location ⇒ ::Google::Cloud::Dialogflow::V2::Tool::Authentication::RequestLocation
Required.
-
#secret_version_for_api_key ⇒ ::String
Optional.
Instance Attribute Details
#api_key ⇒ ::String
Returns Optional. The API key. If the secret_version_for_api_key field is
set, this field will be ignored.
344 345 346 347 |
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 344 class ApiKeyConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#key_name ⇒ ::String
Returns Required. The parameter name or the header name of the API key.
E.g., If the API request is "https://example.com/act?X-Api-Key=
344 345 346 347 |
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 344 class ApiKeyConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#request_location ⇒ ::Google::Cloud::Dialogflow::V2::Tool::Authentication::RequestLocation
Returns Required. Key location in the request.
344 345 346 347 |
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 344 class ApiKeyConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#secret_version_for_api_key ⇒ ::String
Returns Optional. The name of the SecretManager secret version resource storing
the API key. If this field is set, the api_key field will be ignored.
Format: projects/{project}/secrets/{secret}/versions/{version}.
344 345 346 347 |
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 344 class ApiKeyConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |