public interface OAuthCredentialOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getOauthTokenSecretVersion()
public abstract String getOauthTokenSecretVersion() Required. A SecretManager resource containing the OAuth token that
authorizes the connection. Format: projects/*/secrets/*/versions/*.
string oauth_token_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The oauthTokenSecretVersion. |
getOauthTokenSecretVersionBytes()
public abstract ByteString getOauthTokenSecretVersionBytes() Required. A SecretManager resource containing the OAuth token that
authorizes the connection. Format: projects/*/secrets/*/versions/*.
string oauth_token_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for oauthTokenSecretVersion. |
getUsername()
public abstract String getUsername()Output only. The username associated with this token.
string username = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The username. |
getUsernameBytes()
public abstract ByteString getUsernameBytes()Output only. The username associated with this token.
string username = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for username. |