Package com.google.cloud.tasks.v2beta2
Interface OidcTokenOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OidcToken,OidcToken.Builder
@Generated
public interface OidcTokenOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAudience to be used when generating OIDC token.com.google.protobuf.ByteStringAudience to be used when generating OIDC token.[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token.com.google.protobuf.ByteString[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC 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 OIDC 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 OIDC 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.
-
getAudience
String getAudience()Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used.
string audience = 2;- Returns:
- The audience.
-
getAudienceBytes
com.google.protobuf.ByteString getAudienceBytes()Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used.
string audience = 2;- Returns:
- The bytes for audience.
-