public interface OAuthTokenOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getScope()
OAuth scope to be used for generating OAuth access token.
|
ByteString |
getScopeBytes()
OAuth scope to be used for generating OAuth access token.
|
String |
getServiceAccountEmail()
[Service account email](https://cloud.google.com/iam/docs/service-accounts)
to be used for generating OAuth token.
|
ByteString |
getServiceAccountEmailBytes()
[Service account email](https://cloud.google.com/iam/docs/service-accounts)
to be used for generating OAuth token.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getServiceAccountEmail()
[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OAuth token. The service account must be within the same project as the job. The caller must have iam.serviceAccounts.actAs permission for the service account.
string service_account_email = 1;
ByteString getServiceAccountEmailBytes()
[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OAuth token. The service account must be within the same project as the job. The caller must have iam.serviceAccounts.actAs permission for the service account.
string service_account_email = 1;
String getScope()
OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.
string scope = 2;
ByteString getScopeBytes()
OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.
string scope = 2;
Copyright © 2022 Google LLC. All rights reserved.