Interface AuthConfig.UserPasswordConfigOrBuilder (0.28.0)

public static interface AuthConfig.UserPasswordConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPassword()

public abstract Secret getPassword()

Required. Secret version reference containing the password. The secretmanager.versions.access permission should be granted to the service account accessing the secret.

.google.cloud.apihub.v1.Secret password = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Secret

The password.

getPasswordOrBuilder()

public abstract SecretOrBuilder getPasswordOrBuilder()

Required. Secret version reference containing the password. The secretmanager.versions.access permission should be granted to the service account accessing the secret.

.google.cloud.apihub.v1.Secret password = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecretOrBuilder

getUsername()

public abstract String getUsername()

Required. Username.

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

Returns
Type Description
String

The username.

getUsernameBytes()

public abstract ByteString getUsernameBytes()

Required. Username.

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

Returns
Type Description
ByteString

The bytes for username.

hasPassword()

public abstract boolean hasPassword()

Required. Secret version reference containing the password. The secretmanager.versions.access permission should be granted to the service account accessing the secret.

.google.cloud.apihub.v1.Secret password = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the password field is set.