Interface OAuthCredentialOrBuilder (3.18.0)

public interface OAuthCredentialOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOauthTokenSecretVersion()

public abstract String getOauthTokenSecretVersion()

A SecretManager resource containing the OAuth token that authorizes the Cloud Build connection. Format: projects/*/secrets/*/versions/*.

string oauth_token_secret_version = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The oauthTokenSecretVersion.

getOauthTokenSecretVersionBytes()

public abstract ByteString getOauthTokenSecretVersionBytes()

A SecretManager resource containing the OAuth token that authorizes the Cloud Build connection. Format: projects/*/secrets/*/versions/*.

string oauth_token_secret_version = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for oauthTokenSecretVersion.

getUsername()

public abstract String getUsername()

Output only. The username associated to this token.

string username = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The username.

getUsernameBytes()

public abstract ByteString getUsernameBytes()

Output only. The username associated to this token.

string username = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for username.