public static interface Tool.Authentication.OAuthConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getClientId()
Required.
|
com.google.protobuf.ByteString |
getClientIdBytes()
Required.
|
String |
getClientSecret()
Optional.
|
com.google.protobuf.ByteString |
getClientSecretBytes()
Optional.
|
Tool.Authentication.OAuthConfig.OauthGrantType |
getOauthGrantType()
Required.
|
int |
getOauthGrantTypeValue()
Required.
|
String |
getScopes(int index)
Optional.
|
com.google.protobuf.ByteString |
getScopesBytes(int index)
Optional.
|
int |
getScopesCount()
Optional.
|
List<String> |
getScopesList()
Optional.
|
String |
getTokenEndpoint()
Required.
|
com.google.protobuf.ByteString |
getTokenEndpointBytes()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getOauthGrantTypeValue()
Required. OAuth grant types.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig.OauthGrantType oauth_grant_type = 1 [(.google.api.field_behavior) = REQUIRED];
Tool.Authentication.OAuthConfig.OauthGrantType getOauthGrantType()
Required. OAuth grant types.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig.OauthGrantType oauth_grant_type = 1 [(.google.api.field_behavior) = REQUIRED];
String getClientId()
Required. The client ID from the OAuth provider.
string client_id = 2 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getClientIdBytes()
Required. The client ID from the OAuth provider.
string client_id = 2 [(.google.api.field_behavior) = REQUIRED];String getClientSecret()
Optional. The client secret from the OAuth provider. If the `secret_version_for_client_secret` field is set, this field will be ignored.
string client_secret = 3 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getClientSecretBytes()
Optional. The client secret from the OAuth provider. If the `secret_version_for_client_secret` field is set, this field will be ignored.
string client_secret = 3 [(.google.api.field_behavior) = OPTIONAL];String getTokenEndpoint()
Required. The token endpoint in the OAuth provider to exchange for an access token.
string token_endpoint = 4 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getTokenEndpointBytes()
Required. The token endpoint in the OAuth provider to exchange for an access token.
string token_endpoint = 4 [(.google.api.field_behavior) = REQUIRED];List<String> getScopesList()
Optional. The OAuth scopes to grant.
repeated string scopes = 5 [(.google.api.field_behavior) = OPTIONAL];int getScopesCount()
Optional. The OAuth scopes to grant.
repeated string scopes = 5 [(.google.api.field_behavior) = OPTIONAL];String getScopes(int index)
Optional. The OAuth scopes to grant.
repeated string scopes = 5 [(.google.api.field_behavior) = OPTIONAL];index - The index of the element to return.com.google.protobuf.ByteString getScopesBytes(int index)
Optional. The OAuth scopes to grant.
repeated string scopes = 5 [(.google.api.field_behavior) = OPTIONAL];index - The index of the value to return.Copyright © 2025 Google LLC. All rights reserved.