class Google::Apis::AppsactivityV1::Parent
Contains information about a parent object. For example, a folder in Drive is a parent for all files within it.
Attributes
id[RW]
The parent's ID. Corresponds to the JSON property `id` @return [String]
is_root[RW]
Whether this is the root folder. Corresponds to the JSON property `isRoot` @return [Boolean]
is_root?[RW]
Whether this is the root folder. Corresponds to the JSON property `isRoot` @return [Boolean]
title[RW]
The parent's title. Corresponds to the JSON property `title` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/appsactivity_v1/classes.rb, line 197 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 202 def update!(**args) @id = args[:id] if args.key?(:id) @is_root = args[:is_root] if args.key?(:is_root) @title = args[:title] if args.key?(:title) end