Interface OAuthCredentialOrBuilder (3.50.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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for username.