public interface UserPasswordValidationPolicyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAllowedFailedAttempts()
public abstract int getAllowedFailedAttempts()Number of failed login attempts allowed before user get locked.
int32 allowed_failed_attempts = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The allowedFailedAttempts. |
getEnableFailedAttemptsCheck()
public abstract boolean getEnableFailedAttemptsCheck()If true, failed login attempts check will be enabled.
bool enable_failed_attempts_check = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableFailedAttemptsCheck. |
getEnablePasswordVerification()
public abstract boolean getEnablePasswordVerification()If true, the user must specify the current password before changing the password. This flag is supported only for MySQL.
bool enable_password_verification = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enablePasswordVerification. |
getPasswordExpirationDuration()
public abstract Duration getPasswordExpirationDuration()Expiration duration after password is updated.
.google.protobuf.Duration password_expiration_duration = 2;
| Returns | |
|---|---|
| Type | Description |
Duration |
The passwordExpirationDuration. |
getPasswordExpirationDurationOrBuilder()
public abstract DurationOrBuilder getPasswordExpirationDurationOrBuilder()Expiration duration after password is updated.
.google.protobuf.Duration password_expiration_duration = 2;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getStatus()
public abstract PasswordStatus getStatus()Output only. Read-only password status.
.google.cloud.sql.v1beta4.PasswordStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PasswordStatus |
The status. |
getStatusOrBuilder()
public abstract PasswordStatusOrBuilder getStatusOrBuilder()Output only. Read-only password status.
.google.cloud.sql.v1beta4.PasswordStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PasswordStatusOrBuilder |
|
hasPasswordExpirationDuration()
public abstract boolean hasPasswordExpirationDuration()Expiration duration after password is updated.
.google.protobuf.Duration password_expiration_duration = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the passwordExpirationDuration field is set. |
hasStatus()
public abstract boolean hasStatus()Output only. Read-only password status.
.google.cloud.sql.v1beta4.PasswordStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the status field is set. |