public interface PasswordValidationPolicyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getComplexity()
public abstract PasswordValidationPolicy.Complexity getComplexity()The complexity of the password.
.google.cloud.sql.v1.PasswordValidationPolicy.Complexity complexity = 2;
| Returns | |
|---|---|
| Type | Description |
PasswordValidationPolicy.Complexity |
The complexity. |
getComplexityValue()
public abstract int getComplexityValue()The complexity of the password.
.google.cloud.sql.v1.PasswordValidationPolicy.Complexity complexity = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for complexity. |
getDisallowCompromisedCredentials() (deprecated)
public abstract BoolValue getDisallowCompromisedCredentials()Deprecated. google.cloud.sql.v1.PasswordValidationPolicy.disallow_compromised_credentials is deprecated. See google/cloud/sql/v1/cloud_sql_resources.proto;l=1569
This field is deprecated and will be removed in a future version of the API.
.google.protobuf.BoolValue disallow_compromised_credentials = 7 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The disallowCompromisedCredentials. |
getDisallowCompromisedCredentialsOrBuilder() (deprecated)
public abstract BoolValueOrBuilder getDisallowCompromisedCredentialsOrBuilder()This field is deprecated and will be removed in a future version of the API.
.google.protobuf.BoolValue disallow_compromised_credentials = 7 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getDisallowUsernameSubstring()
public abstract BoolValue getDisallowUsernameSubstring()Disallow username as a part of the password.
.google.protobuf.BoolValue disallow_username_substring = 4;
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The disallowUsernameSubstring. |
getDisallowUsernameSubstringOrBuilder()
public abstract BoolValueOrBuilder getDisallowUsernameSubstringOrBuilder()Disallow username as a part of the password.
.google.protobuf.BoolValue disallow_username_substring = 4;
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getEnablePasswordPolicy()
public abstract BoolValue getEnablePasswordPolicy()Whether to enable the password policy or not. When enabled, passwords must meet complexity requirements. Keep this policy enabled to help prevent unauthorized access. Disabling this policy allows weak passwords.
.google.protobuf.BoolValue enable_password_policy = 6;
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The enablePasswordPolicy. |
getEnablePasswordPolicyOrBuilder()
public abstract BoolValueOrBuilder getEnablePasswordPolicyOrBuilder()Whether to enable the password policy or not. When enabled, passwords must meet complexity requirements. Keep this policy enabled to help prevent unauthorized access. Disabling this policy allows weak passwords.
.google.protobuf.BoolValue enable_password_policy = 6;
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getMinLength()
public abstract Int32Value getMinLength()Minimum number of characters allowed.
.google.protobuf.Int32Value min_length = 1;
| Returns | |
|---|---|
| Type | Description |
Int32Value |
The minLength. |
getMinLengthOrBuilder()
public abstract Int32ValueOrBuilder getMinLengthOrBuilder()Minimum number of characters allowed.
.google.protobuf.Int32Value min_length = 1;
| Returns | |
|---|---|
| Type | Description |
Int32ValueOrBuilder |
|
getPasswordChangeInterval()
public abstract Duration getPasswordChangeInterval()Minimum interval after which the password can be changed. This flag is only supported for PostgreSQL.
.google.protobuf.Duration password_change_interval = 5;
| Returns | |
|---|---|
| Type | Description |
Duration |
The passwordChangeInterval. |
getPasswordChangeIntervalOrBuilder()
public abstract DurationOrBuilder getPasswordChangeIntervalOrBuilder()Minimum interval after which the password can be changed. This flag is only supported for PostgreSQL.
.google.protobuf.Duration password_change_interval = 5;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getReuseInterval()
public abstract Int32Value getReuseInterval()Number of previous passwords that cannot be reused.
.google.protobuf.Int32Value reuse_interval = 3;
| Returns | |
|---|---|
| Type | Description |
Int32Value |
The reuseInterval. |
getReuseIntervalOrBuilder()
public abstract Int32ValueOrBuilder getReuseIntervalOrBuilder()Number of previous passwords that cannot be reused.
.google.protobuf.Int32Value reuse_interval = 3;
| Returns | |
|---|---|
| Type | Description |
Int32ValueOrBuilder |
|
hasDisallowCompromisedCredentials() (deprecated)
public abstract boolean hasDisallowCompromisedCredentials()Deprecated. google.cloud.sql.v1.PasswordValidationPolicy.disallow_compromised_credentials is deprecated. See google/cloud/sql/v1/cloud_sql_resources.proto;l=1569
This field is deprecated and will be removed in a future version of the API.
.google.protobuf.BoolValue disallow_compromised_credentials = 7 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the disallowCompromisedCredentials field is set. |
hasDisallowUsernameSubstring()
public abstract boolean hasDisallowUsernameSubstring()Disallow username as a part of the password.
.google.protobuf.BoolValue disallow_username_substring = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the disallowUsernameSubstring field is set. |
hasEnablePasswordPolicy()
public abstract boolean hasEnablePasswordPolicy()Whether to enable the password policy or not. When enabled, passwords must meet complexity requirements. Keep this policy enabled to help prevent unauthorized access. Disabling this policy allows weak passwords.
.google.protobuf.BoolValue enable_password_policy = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enablePasswordPolicy field is set. |
hasMinLength()
public abstract boolean hasMinLength()Minimum number of characters allowed.
.google.protobuf.Int32Value min_length = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the minLength field is set. |
hasPasswordChangeInterval()
public abstract boolean hasPasswordChangeInterval()Minimum interval after which the password can be changed. This flag is only supported for PostgreSQL.
.google.protobuf.Duration password_change_interval = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the passwordChangeInterval field is set. |
hasReuseInterval()
public abstract boolean hasReuseInterval()Number of previous passwords that cannot be reused.
.google.protobuf.Int32Value reuse_interval = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reuseInterval field is set. |