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