Interface UserCredentialOrBuilder (3.39.0)

public interface UserCredentialOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getUserTokenSecretVersion()

public abstract String getUserTokenSecretVersion()

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

string user_token_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The userTokenSecretVersion.

getUserTokenSecretVersionBytes()

public abstract ByteString getUserTokenSecretVersionBytes()

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

string user_token_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for userTokenSecretVersion.

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.