class Google::Apis::AppsactivityV1::Target
Information about the object modified by the event.
Attributes
id[RW]
The ID of the target. For example, in Google Drive, this is the file or folder ID. Corresponds to the JSON property `id` @return [String]
mime_type[RW]
The MIME type of the target. Corresponds to the JSON property `mimeType` @return [String]
name[RW]
The name of the target. For example, in Google Drive, this is the title of the file. Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/appsactivity_v1/classes.rb, line 354 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/appsactivity_v1/classes.rb, line 359 def update!(**args) @id = args[:id] if args.key?(:id) @mime_type = args[:mime_type] if args.key?(:mime_type) @name = args[:name] if args.key?(:name) end