Package com.google.cloud.tasks.v2beta2
Interface OAuthTokenOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OAuthToken,OAuthToken.Builder
@Generated
public interface OAuthTokenOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetScope()OAuth scope to be used for generating OAuth access token.com.google.protobuf.ByteStringOAuth scope to be used for generating OAuth access token.[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OAuth token.com.google.protobuf.ByteString[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.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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 queue. 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 queue. 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.
-