public static interface Tool.Authentication.ApiKeyConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getApiKey()
Optional.
|
com.google.protobuf.ByteString |
getApiKeyBytes()
Optional.
|
String |
getKeyName()
Required.
|
com.google.protobuf.ByteString |
getKeyNameBytes()
Required.
|
Tool.Authentication.RequestLocation |
getRequestLocation()
Required.
|
int |
getRequestLocationValue()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getKeyName()
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=<API KEY>", "X-Api-Key" would be the parameter name.
string key_name = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getKeyNameBytes()
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=<API KEY>", "X-Api-Key" would be the parameter name.
string key_name = 1 [(.google.api.field_behavior) = REQUIRED];String getApiKey()
Optional. The API key. If the `secret_version_for_api_key` field is set, this field will be ignored.
string api_key = 2 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getApiKeyBytes()
Optional. The API key. If the `secret_version_for_api_key` field is set, this field will be ignored.
string api_key = 2 [(.google.api.field_behavior) = OPTIONAL];int getRequestLocationValue()
Required. Key location in the request.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.RequestLocation request_location = 3 [(.google.api.field_behavior) = REQUIRED];
Tool.Authentication.RequestLocation getRequestLocation()
Required. Key location in the request.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.RequestLocation request_location = 3 [(.google.api.field_behavior) = REQUIRED];
Copyright © 2025 Google LLC. All rights reserved.