Package com.google.cloud.tasks.v2
Interface OidcTokenOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OidcToken
,OidcToken.Builder
public interface OidcTokenOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAudience()
Audience to be used when generating OIDC token.com.google.protobuf.ByteString
getAudienceBytes()
Audience to be used when generating OIDC token.String
getServiceAccountEmail()
[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token.com.google.protobuf.ByteString
getServiceAccountEmailBytes()
[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.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 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.
-
-