Interface UserCredentialOrBuilder (3.57.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
Type Description
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
Type Description
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
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.