class Google::Apis::SqladminV1beta4::PasswordStatus

Read-only password status.

Attributes

locked[RW]

If true, user does not have login privileges. Corresponds to the JSON property `locked` @return [Boolean]

locked?[RW]

If true, user does not have login privileges. Corresponds to the JSON property `locked` @return [Boolean]

password_expiration_time[RW]

The expiration time of the current password. Corresponds to the JSON property `passwordExpirationTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 2542
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 2547
def update!(**args)
  @locked = args[:locked] if args.key?(:locked)
  @password_expiration_time = args[:password_expiration_time] if args.key?(:password_expiration_time)
end