class Google::Apis::DriveactivityV2::Owner

Information about the owner of a Drive item.

Attributes

domain[RW]

Information about a domain. Corresponds to the JSON property `domain` @return [Google::Apis::DriveactivityV2::Domain]

drive[RW]

A lightweight reference to a shared drive. Corresponds to the JSON property `drive` @return [Google::Apis::DriveactivityV2::DriveReference]

team_drive[RW]

This item is deprecated; please see `DriveReference` instead. Corresponds to the JSON property `teamDrive` @return [Google::Apis::DriveactivityV2::TeamDriveReference]

user[RW]

Information about an end user. Corresponds to the JSON property `user` @return [Google::Apis::DriveactivityV2::User]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/driveactivity_v2/classes.rb, line 986
def update!(**args)
  @domain = args[:domain] if args.key?(:domain)
  @drive = args[:drive] if args.key?(:drive)
  @team_drive = args[:team_drive] if args.key?(:team_drive)
  @user = args[:user] if args.key?(:user)
end