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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/google/apis/admin_directory_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ UserMakeAdmin

Returns a new instance of UserMakeAdmin.


3717
3718
3719
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 3717

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

Instance Attribute Details

#statusBoolean Also known as: status?

Boolean indicating new admin status of the user Corresponds to the JSON property status

Returns:

  • (Boolean)

3714
3715
3716
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 3714

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3722
3723
3724
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 3722

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