class Google::Apis::SqladminV1beta4::SqlServerUserDetails

Represents a Sql Server user on the Cloud SQL instance.

Attributes

disabled[RW]

If the user has been disabled Corresponds to the JSON property `disabled` @return [Boolean]

disabled?[RW]

If the user has been disabled Corresponds to the JSON property `disabled` @return [Boolean]

server_roles[RW]

The server roles for this user Corresponds to the JSON property `serverRoles` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 3125
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 3130
def update!(**args)
  @disabled = args[:disabled] if args.key?(:disabled)
  @server_roles = args[:server_roles] if args.key?(:server_roles)
end