Package | Description |
---|---|
com.google.cloud.tasks.v2 |
The interfaces provided are listed below, along with usage samples.
|
Modifier and Type | Method and Description |
---|---|
OidcToken.Builder |
OidcToken.Builder.addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
OidcToken.Builder |
OidcToken.Builder.clear() |
OidcToken.Builder |
OidcToken.Builder.clearAudience()
Audience to be used when generating OIDC token.
|
OidcToken.Builder |
OidcToken.Builder.clearField(Descriptors.FieldDescriptor field) |
OidcToken.Builder |
OidcToken.Builder.clearOneof(Descriptors.OneofDescriptor oneof) |
OidcToken.Builder |
OidcToken.Builder.clearServiceAccountEmail()
[Service account email](https://cloud.google.com/iam/docs/service-accounts)
to be used for generating OIDC token.
|
OidcToken.Builder |
OidcToken.Builder.clone() |
OidcToken.Builder |
HttpRequest.Builder.getOidcTokenBuilder()
If specified, an
[OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
token will be generated and attached as an `Authorization` header in the
HTTP request.
|
OidcToken.Builder |
OidcToken.Builder.mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
OidcToken.Builder |
OidcToken.Builder.mergeFrom(Message other) |
OidcToken.Builder |
OidcToken.Builder.mergeFrom(OidcToken other) |
OidcToken.Builder |
OidcToken.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) |
static OidcToken.Builder |
OidcToken.newBuilder() |
static OidcToken.Builder |
OidcToken.newBuilder(OidcToken prototype) |
OidcToken.Builder |
OidcToken.newBuilderForType() |
protected OidcToken.Builder |
OidcToken.newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
OidcToken.Builder |
OidcToken.Builder.setAudience(String value)
Audience to be used when generating OIDC token.
|
OidcToken.Builder |
OidcToken.Builder.setAudienceBytes(ByteString value)
Audience to be used when generating OIDC token.
|
OidcToken.Builder |
OidcToken.Builder.setField(Descriptors.FieldDescriptor field,
Object value) |
OidcToken.Builder |
OidcToken.Builder.setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
OidcToken.Builder |
OidcToken.Builder.setServiceAccountEmail(String value)
[Service account email](https://cloud.google.com/iam/docs/service-accounts)
to be used for generating OIDC token.
|
OidcToken.Builder |
OidcToken.Builder.setServiceAccountEmailBytes(ByteString value)
[Service account email](https://cloud.google.com/iam/docs/service-accounts)
to be used for generating OIDC token.
|
OidcToken.Builder |
OidcToken.Builder.setUnknownFields(UnknownFieldSet unknownFields) |
OidcToken.Builder |
OidcToken.toBuilder() |
Modifier and Type | Method and Description |
---|---|
HttpRequest.Builder |
HttpRequest.Builder.setOidcToken(OidcToken.Builder builderForValue)
If specified, an
[OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
token will be generated and attached as an `Authorization` header in the
HTTP request.
|
Copyright © 2022 Google LLC. All rights reserved.