class Google::Apis::AdminDirectoryV1::User
JSON template for User object in Directory API.
Attributes
Corresponds to the JSON property `addresses` @return [Object]
Indicates if user has agreed to terms (Read-only) Corresponds to the JSON property `agreedToTerms` @return [Boolean]
Indicates if user has agreed to terms (Read-only) Corresponds to the JSON property `agreedToTerms` @return [Boolean]
List of aliases (Read-only) Corresponds to the JSON property `aliases` @return [Array<String>]
Boolean indicating if the user should change password in next login Corresponds to the JSON property `changePasswordAtNextLogin` @return [Boolean]
Boolean indicating if the user should change password in next login Corresponds to the JSON property `changePasswordAtNextLogin` @return [Boolean]
User's Google account creation time. (Read-only) Corresponds to the JSON property `creationTime` @return [DateTime]
Custom fields of the user. Corresponds to the JSON property `customSchemas` @return [Hash<String,Hash<String,Object>>]
CustomerId of User (Read-only) Corresponds to the JSON property `customerId` @return [String]
Corresponds to the JSON property `deletionTime` @return [DateTime]
Corresponds to the JSON property `emails` @return [Object]
ETag of the resource. Corresponds to the JSON property `etag` @return [String]
Corresponds to the JSON property `externalIds` @return [Object]
Hash function name for password. Supported are MD5, SHA-1 and crypt Corresponds to the JSON property `hashFunction` @return [String]
Unique identifier of User (Read-only) Corresponds to the JSON property `id` @return [String]
Corresponds to the JSON property `ims` @return [Object]
Boolean indicating if user is included in Global Address List Corresponds to the JSON property `includeInGlobalAddressList` @return [Boolean]
Boolean indicating if user is included in Global Address List Corresponds to the JSON property `includeInGlobalAddressList` @return [Boolean]
Boolean indicating if ip is whitelisted Corresponds to the JSON property `ipWhitelisted` @return [Boolean]
Boolean indicating if ip is whitelisted Corresponds to the JSON property `ipWhitelisted` @return [Boolean]
Boolean indicating if the user is admin (Read-only) Corresponds to the JSON property `isAdmin` @return [Boolean]
Boolean indicating if the user is admin (Read-only) Corresponds to the JSON property `isAdmin` @return [Boolean]
Boolean indicating if the user is delegated admin (Read-only) Corresponds to the JSON property `isDelegatedAdmin` @return [Boolean]
Boolean indicating if the user is delegated admin (Read-only) Corresponds to the JSON property `isDelegatedAdmin` @return [Boolean]
Is mailbox setup (Read-only) Corresponds to the JSON property `isMailboxSetup` @return [Boolean]
Is mailbox setup (Read-only) Corresponds to the JSON property `isMailboxSetup` @return [Boolean]
Kind of resource this is. Corresponds to the JSON property `kind` @return [String]
User's last login time. (Read-only) Corresponds to the JSON property `lastLoginTime` @return [DateTime]
JSON template for name of a user in Directory API. Corresponds to the JSON property `name` @return [Google::Apis::AdminDirectoryV1::UserName]
List of non editable aliases (Read-only) Corresponds to the JSON property `nonEditableAliases` @return [Array<String>]
Corresponds to the JSON property `notes` @return [Object]
Corresponds to the JSON property `organizations` @return [Object]
User's password Corresponds to the JSON property `password` @return [String]
Corresponds to the JSON property `phones` @return [Object]
username of User Corresponds to the JSON property `primaryEmail` @return [String]
Corresponds to the JSON property `relations` @return [Object]
Indicates if user is suspended Corresponds to the JSON property `suspended` @return [Boolean]
Indicates if user is suspended Corresponds to the JSON property `suspended` @return [Boolean]
Suspension reason if user is suspended (Read-only) Corresponds to the JSON property `suspensionReason` @return [String]
ETag of the user's photo (Read-only) Corresponds to the JSON property `thumbnailPhotoEtag` @return [String]
Photo Url of the user (Read-only) Corresponds to the JSON property `thumbnailPhotoUrl` @return [String]
Corresponds to the JSON property `websites` @return [Object]
Public Class Methods
# File generated/google/apis/admin_directory_v1/classes.rb, line 2404 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/admin_directory_v1/classes.rb, line 2409 def update!(**args) @addresses = args[:addresses] if args.key?(:addresses) @agreed_to_terms = args[:agreed_to_terms] if args.key?(:agreed_to_terms) @aliases = args[:aliases] if args.key?(:aliases) @change_password_at_next_login = args[:change_password_at_next_login] if args.key?(:change_password_at_next_login) @creation_time = args[:creation_time] if args.key?(:creation_time) @custom_schemas = args[:custom_schemas] if args.key?(:custom_schemas) @customer_id = args[:customer_id] if args.key?(:customer_id) @deletion_time = args[:deletion_time] if args.key?(:deletion_time) @emails = args[:emails] if args.key?(:emails) @etag = args[:etag] if args.key?(:etag) @external_ids = args[:external_ids] if args.key?(:external_ids) @hash_function = args[:hash_function] if args.key?(:hash_function) @id = args[:id] if args.key?(:id) @ims = args[:ims] if args.key?(:ims) @include_in_global_address_list = args[:include_in_global_address_list] if args.key?(:include_in_global_address_list) @ip_whitelisted = args[:ip_whitelisted] if args.key?(:ip_whitelisted) @is_admin = args[:is_admin] if args.key?(:is_admin) @is_delegated_admin = args[:is_delegated_admin] if args.key?(:is_delegated_admin) @is_mailbox_setup = args[:is_mailbox_setup] if args.key?(:is_mailbox_setup) @kind = args[:kind] if args.key?(:kind) @last_login_time = args[:last_login_time] if args.key?(:last_login_time) @name = args[:name] if args.key?(:name) @non_editable_aliases = args[:non_editable_aliases] if args.key?(:non_editable_aliases) @notes = args[:notes] if args.key?(:notes) @org_unit_path = args[:org_unit_path] if args.key?(:org_unit_path) @organizations = args[:organizations] if args.key?(:organizations) @password = args[:password] if args.key?(:password) @phones = args[:phones] if args.key?(:phones) @primary_email = args[:primary_email] if args.key?(:primary_email) @relations = args[:relations] if args.key?(:relations) @suspended = args[:suspended] if args.key?(:suspended) @suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason) @thumbnail_photo_etag = args[:thumbnail_photo_etag] if args.key?(:thumbnail_photo_etag) @thumbnail_photo_url = args[:thumbnail_photo_url] if args.key?(:thumbnail_photo_url) @websites = args[:websites] if args.key?(:websites) end