Class: Google::Apis::AdminDirectoryV1::UserMakeAdmin
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::UserMakeAdmin
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/google/apis/admin_directory_v1/representations.rb
Instance Attribute Summary collapse
-
#status ⇒ Boolean
(also: #status?)
Indicates the administrator status of the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserMakeAdmin
constructor
A new instance of UserMakeAdmin.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UserMakeAdmin
Returns a new instance of UserMakeAdmin.
4583 4584 4585 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4583 def initialize(**args) update!(**args) end |
Instance Attribute Details
#status ⇒ Boolean Also known as: status?
Indicates the administrator status of the user.
Corresponds to the JSON property status
4580 4581 4582 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4580 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4588 4589 4590 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4588 def update!(**args) @status = args[:status] if args.key?(:status) end |