Interface OAuthTokenOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OAuthToken
,OAuthToken.Builder
public interface OAuthTokenOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getScope()
OAuth scope to be used for generating OAuth access token.com.google.protobuf.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.com.google.protobuf.ByteString
getServiceAccountEmailBytes()
[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OAuth token.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getServiceAccountEmail
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;
- Returns:
- The serviceAccountEmail.
-
getServiceAccountEmailBytes
com.google.protobuf.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;
- Returns:
- The bytes for serviceAccountEmail.
-
getScope
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;
- Returns:
- The scope.
-
getScopeBytes
com.google.protobuf.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;
- Returns:
- The bytes for scope.
-
-