Class: Google::Apis::SqladminV1::SqlServerUserDetails
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1::SqlServerUserDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sqladmin_v1/classes.rb,
lib/google/apis/sqladmin_v1/representations.rb,
lib/google/apis/sqladmin_v1/representations.rb
Overview
Represents a Sql Server user on the Cloud SQL instance.
Instance Attribute Summary collapse
-
#disabled ⇒ Boolean
(also: #disabled?)
If the user has been disabled Corresponds to the JSON property
disabled. -
#server_roles ⇒ Array<String>
The server roles for this user Corresponds to the JSON property
serverRoles.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlServerUserDetails
constructor
A new instance of SqlServerUserDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlServerUserDetails
Returns a new instance of SqlServerUserDetails.
3459 3460 3461 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3459 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disabled ⇒ Boolean Also known as: disabled?
If the user has been disabled
Corresponds to the JSON property disabled
3451 3452 3453 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3451 def disabled @disabled end |
#server_roles ⇒ Array<String>
The server roles for this user
Corresponds to the JSON property serverRoles
3457 3458 3459 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3457 def server_roles @server_roles end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3464 3465 3466 3467 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3464 def update!(**args) @disabled = args[:disabled] if args.key?(:disabled) @server_roles = args[:server_roles] if args.key?(:server_roles) end |