class

GoogleDrive::User

Inherits OpenApi::Json / OpenApi::Validatable / JSON::Serializable::Unmapped / JSON::Serializable / Reference / Object

Information about a Drive user.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

display_name

A plain text displayable name for this user.

Source
display_name=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] display_name Object to be assigned

Source
email_address

The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.

Source
email_address=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] email_address Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

kind

Identifies what kind of resource this is. Value: the fixed string "drive#user".

Source
kind=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] kind Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
me

Whether this user is the requesting user.

Source
me=(new_value : Bool | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] me Object to be assigned

Source
permission_id

The user's ID as visible in Permission resources.

Source
permission_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] permission_id Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source