class Google::Apis::AppsactivityV1::User
A representation of a user.
Attributes
A boolean which indicates whether the specified User was deleted. If true, name, photo and #permission_id will be omitted. Corresponds to the JSON property `isDeleted` @return [Boolean]
A boolean which indicates whether the specified User was deleted. If true, name, photo and #permission_id will be omitted. Corresponds to the JSON property `isDeleted` @return [Boolean]
The displayable name of the user. Corresponds to the JSON property `name` @return [String]
The permission ID associated with this user. Equivalent to the Drive API's permission ID for this user, returned as part of the Drive Permissions resource. Corresponds to the JSON property `permissionId` @return [String]
Photo information for a user. Corresponds to the JSON property `photo` @return [Google::Apis::AppsactivityV1::Photo]
Public Class Methods
# File generated/google/apis/appsactivity_v1/classes.rb, line 394 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/appsactivity_v1/classes.rb, line 399 def update!(**args) @is_deleted = args[:is_deleted] if args.key?(:is_deleted) @name = args[:name] if args.key?(:name) @permission_id = args[:permission_id] if args.key?(:permission_id) @photo = args[:photo] if args.key?(:photo) end