Class: Google::Apis::AdminDirectoryV1::UserMakeAdmin

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UserMakeAdmin

Returns a new instance of UserMakeAdmin.



5318
5319
5320
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 5318

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#statusBoolean Also known as: status?

Indicates the administrator status of the user. Corresponds to the JSON property status

Returns:

  • (Boolean)


5315
5316
5317
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 5315

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5323
5324
5325
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 5323

def update!(**args)
  @status = args[:status] if args.key?(:status)
end