Interface SecretManagerCredentialOrBuilder (3.50.0)

public interface SecretManagerCredentialOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPasswordSecretVersionName()

public abstract String getPasswordSecretVersionName()

Required. The name of the Secret Manager resource that stores the password, in the form projects/project-id/secrets/secret-name/versions/version.

string password_secret_version_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The passwordSecretVersionName.

getPasswordSecretVersionNameBytes()

public abstract ByteString getPasswordSecretVersionNameBytes()

Required. The name of the Secret Manager resource that stores the password, in the form projects/project-id/secrets/secret-name/versions/version.

string password_secret_version_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for passwordSecretVersionName.

getUsername()

public abstract String getUsername()

Required. The username.

string username = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The username.

getUsernameBytes()

public abstract ByteString getUsernameBytes()

Required. The username.

string username = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for username.