public static interface AuthConfig.OauthConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessToken()
Access token for extension endpoint.
|
com.google.protobuf.ByteString |
getAccessTokenBytes()
Access token for extension endpoint.
|
AuthConfig.OauthConfig.OauthConfigCase |
getOauthConfigCase() |
String |
getServiceAccount()
The service account used to generate access tokens for executing the
Extension.
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
The service account used to generate access tokens for executing the
Extension.
|
boolean |
hasAccessToken()
Access token for extension endpoint.
|
boolean |
hasServiceAccount()
The service account used to generate access tokens for executing the
Extension.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasAccessToken()
Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.
string access_token = 1;String getAccessToken()
Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.
string access_token = 1;com.google.protobuf.ByteString getAccessTokenBytes()
Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.
string access_token = 1;boolean hasServiceAccount()
The service account used to generate access tokens for executing the Extension. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the provided service account.
string service_account = 2;String getServiceAccount()
The service account used to generate access tokens for executing the Extension. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the provided service account.
string service_account = 2;com.google.protobuf.ByteString getServiceAccountBytes()
The service account used to generate access tokens for executing the Extension. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the provided service account.
string service_account = 2;AuthConfig.OauthConfig.OauthConfigCase getOauthConfigCase()
Copyright © 2024 Google LLC. All rights reserved.