class Google::Apis::AdminDirectoryV1::UserMakeAdmin

JSON request template for setting/revoking admin status of a user in Directory API.

Attributes

status[RW]

Boolean indicating new admin status of the user Corresponds to the JSON property `status` @return [Boolean]

status?[RW]

Boolean indicating new admin status of the user Corresponds to the JSON property `status` @return [Boolean]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/admin_directory_v1/classes.rb, line 2715
def update!(**args)
  @status = args[:status] if args.key?(:status)
end