chore: regens API reference docs (#889)
diff --git a/docs/dyn/driveactivity_v2.activity.html b/docs/dyn/driveactivity_v2.activity.html
index 98a6f27..2745180 100644
--- a/docs/dyn/driveactivity_v2.activity.html
+++ b/docs/dyn/driveactivity_v2.activity.html
@@ -75,23 +75,25 @@
<h1><a href="driveactivity_v2.html">Drive Activity API</a> . <a href="driveactivity_v2.activity.html">activity</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
- <code><a href="#query">query(body, x__xgafv=None)</a></code></p>
+ <code><a href="#query">query(body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Query past activity in Google Drive.</p>
<p class="toc_element">
<code><a href="#query_next">query_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<h3>Method Details</h3>
<div class="method">
- <code class="details" id="query">query(body, x__xgafv=None)</code>
+ <code class="details" id="query">query(body=None, x__xgafv=None)</code>
<pre>Query past activity in Google Drive.
Args:
- body: object, The request body. (required)
+ body: object, The request body.
The object takes the form of:
{ # The request message for querying Drive activity.
- "pageSize": 42, # The requested number of activity to return. If not set, a default value
- # will be used.
+ "pageSize": 42, # The miminum number of activities desired in the response; the server will
+ # attempt to return at least this quanitity. The server may also return fewer
+ # activities if it has a partial response ready before the request times out.
+ # If not set, a default value is used.
"ancestorName": "A String", # Return activities for this Drive folder and all children and descendants.
# The format is "items/ITEM_ID".
"filter": "A String", # The filtering for items returned from this query request. The format of the
@@ -100,23 +102,25 @@
#
# Supported fields:
#
- # - <tt>time</tt>: Uses numerical operators on date values either in
+ # - <tt>time</tt>: Uses numerical operators on date values either in
# terms of milliseconds since Jan 1, 1970 or in RFC 3339 format.
# Examples:
- # - <tt>time > 1452409200000 AND time <= 1492812924310</tt>
- # - <tt>time >= "2016-01-10T01:02:03-05:00"</tt>
+ # - <tt>time > 1452409200000 AND time <= 1492812924310</tt>
+ # - <tt>time >= "2016-01-10T01:02:03-05:00"</tt>
#
- # - <tt>detail.action_detail_case</tt>: Uses the "has" operator (:) and
+ # - <tt>detail.action_detail_case</tt>: Uses the "has" operator (:) and
# either a singular value or a list of allowed action types enclosed in
# parentheses.
# Examples:
- # - <tt>detail.action_detail_case: RENAME</tt>
- # - <tt>detail.action_detail_case:(CREATE UPLOAD)</tt>
- # - <tt>-detail.action_detail_case:MOVE</tt>
- "pageToken": "A String", # The next_page_token value returned from a previous QueryDriveActivity
- # request, if any.
+ # - <tt>detail.action_detail_case: RENAME</tt>
+ # - <tt>detail.action_detail_case:(CREATE EDIT)</tt>
+ # - <tt>-detail.action_detail_case:MOVE</tt>
+ "pageToken": "A String", # The token identifying which page of results to return. Set this to the
+ # next_page_token value returned from a previous query to obtain the
+ # following page of results. If not set, the first page of results will be
+ # returned.
"consolidationStrategy": { # How the individual activities are consolidated. A set of activities may be # Details on how to consolidate related actions that make up the activity. If
- # not set, then related actions will not be consolidated.
+ # not set, then related actions are not consolidated.
# consolidated into one combined activity if they are related in some way, such
# as one actor performing the same action on multiple targets, or multiple
# actors performing the same action on a single target. The strategy defines
@@ -155,9 +159,42 @@
"primaryActionDetail": { # Data describing the type and additional information of an action. # Key information about the primary action for this activity. This is either
# representative, or the most important, of all actions in the activity,
# according to the ConsolidationStrategy in the request.
- "rename": { # An object was renamed. # An object was renamed.
- "newTitle": "A String", # The new title of the drive object.
- "oldTitle": "A String", # The previous title of the drive object.
+ "comment": { # A change about comments on an object. # A change about comments was made.
+ "assignment": { # A comment with an assignment. # A change on an assignment.
+ "subtype": "A String", # The sub-type of this event.
+ "assignedUser": { # Information about an end user. # The user to whom the comment was assigned.
+ "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
+ },
+ "knownUser": { # A known user. # A known user.
+ "personName": "A String", # The identifier for this user that can be used with the People API to get
+ # more information. The format is "people/ACCOUNT_ID". See
+ # https://developers.google.com/people/.
+ "isCurrentUser": True or False, # True if this is the user making the request.
+ },
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
+ },
+ },
+ "post": { # A regular posted comment. # A change on a regular posted comment.
+ "subtype": "A String", # The sub-type of this event.
+ },
+ "mentionedUsers": [ # Users who are mentioned in this comment.
+ { # Information about an end user.
+ "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
+ },
+ "knownUser": { # A known user. # A known user.
+ "personName": "A String", # The identifier for this user that can be used with the People API to get
+ # more information. The format is "people/ACCOUNT_ID". See
+ # https://developers.google.com/people/.
+ "isCurrentUser": True or False, # True if this is the user making the request.
+ },
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
+ },
+ ],
+ "suggestion": { # A suggestion. # A change on a suggestion.
+ "subtype": "A String", # The sub-type of this event.
+ },
},
"permissionChange": { # A change of the permission setting on an item. # The permission on an object was changed.
"removedPermissions": [ # The set of permissions removed by this change.
@@ -173,22 +210,22 @@
"anyone": { # Represents any user (including a logged out user). # If set, this permission applies to anyone, even logged out users.
},
"role": "A String", # Indicates the
- # <a href="/drive/web/manage-sharing#roles">Google Drive permissions
- # role</a>. The role determines a user's ability to read, write, and
+ # <a href="/drive/web/manage-sharing#roles">Google Drive permissions
+ # role</a>. The role determines a user's ability to read, write, and
# comment on items.
"allowDiscovery": True or False, # If true, the item can be discovered (e.g. in the user's "Shared with me"
# collection) without needing a link to the item.
"user": { # Information about an end user. # The user to whom this permission applies.
"unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
},
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
"knownUser": { # A known user. # A known user.
"personName": "A String", # The identifier for this user that can be used with the People API to get
# more information. The format is "people/ACCOUNT_ID". See
# https://developers.google.com/people/.
"isCurrentUser": True or False, # True if this is the user making the request.
},
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
},
},
],
@@ -205,34 +242,31 @@
"anyone": { # Represents any user (including a logged out user). # If set, this permission applies to anyone, even logged out users.
},
"role": "A String", # Indicates the
- # <a href="/drive/web/manage-sharing#roles">Google Drive permissions
- # role</a>. The role determines a user's ability to read, write, and
+ # <a href="/drive/web/manage-sharing#roles">Google Drive permissions
+ # role</a>. The role determines a user's ability to read, write, and
# comment on items.
"allowDiscovery": True or False, # If true, the item can be discovered (e.g. in the user's "Shared with me"
# collection) without needing a link to the item.
"user": { # Information about an end user. # The user to whom this permission applies.
"unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
},
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
"knownUser": { # A known user. # A known user.
"personName": "A String", # The identifier for this user that can be used with the People API to get
# more information. The format is "people/ACCOUNT_ID". See
# https://developers.google.com/people/.
"isCurrentUser": True or False, # True if this is the user making the request.
},
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
},
},
],
},
- "dlpChange": { # A change in the object's data leak prevention status. # A change happened in data leak prevention status.
- "type": "A String", # The type of Data Leak Prevention (DLP) change.
- },
"reference": { # Activity in applications other than Drive. # An object was referenced in an application outside of Drive/Docs.
"type": "A String", # The reference type corresponding to this event.
},
- "restore": { # A deleted object was restored. # A deleted object was restored.
- "type": "A String", # The type of restore action taken.
+ "dlpChange": { # A change in the object's data leak prevention status. # A change happened in data leak prevention status.
+ "type": "A String", # The type of Data Leak Prevention (DLP) change.
},
"edit": { # An empty message indicating an object was edited. # An object was edited.
},
@@ -258,7 +292,8 @@
"driveItem": { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
"name": "A String", # The target Drive item. The format is "items/ITEM_ID".
"title": "A String", # The title of the Drive item.
- "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder.
+ "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
+ # folder.
"type": "A String", # The type of Drive folder.
},
"driveFile": { # A Drive item which is a file. # The Drive item is a file.
@@ -291,7 +326,8 @@
"driveItem": { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
"name": "A String", # The target Drive item. The format is "items/ITEM_ID".
"title": "A String", # The title of the Drive item.
- "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder.
+ "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
+ # folder.
"type": "A String", # The type of Drive folder.
},
"driveFile": { # A Drive item which is a file. # The Drive item is a file.
@@ -319,7 +355,8 @@
"driveItem": { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
"name": "A String", # The target Drive item. The format is "items/ITEM_ID".
"title": "A String", # The title of the Drive item.
- "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder.
+ "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
+ # folder.
"type": "A String", # The type of Drive folder.
},
"driveFile": { # A Drive item which is a file. # The Drive item is a file.
@@ -339,30 +376,12 @@
},
],
},
- "comment": { # A change about comments on an object. # A change about comments was made.
- "assignment": { # A comment with an assignment. # A change on an assignment.
- "subtype": "A String", # The sub-type of this event.
- },
- "post": { # A regular posted comment. # A change on a regular posted comment.
- "subtype": "A String", # The sub-type of this event.
- },
- "mentionedUsers": [ # Users who are mentioned in this comment.
- { # Information about an end user.
- "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
- },
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
- "knownUser": { # A known user. # A known user.
- "personName": "A String", # The identifier for this user that can be used with the People API to get
- # more information. The format is "people/ACCOUNT_ID". See
- # https://developers.google.com/people/.
- "isCurrentUser": True or False, # True if this is the user making the request.
- },
- },
- ],
- "suggestion": { # A suggestion. # A change on a suggestion.
- "subtype": "A String", # The sub-type of this event.
- },
+ "rename": { # An object was renamed. # An object was renamed.
+ "newTitle": "A String", # The new title of the drive object.
+ "oldTitle": "A String", # The previous title of the drive object.
+ },
+ "restore": { # A deleted object was restored. # A deleted object was restored.
+ "type": "A String", # The type of restore action taken.
},
"delete": { # An object was deleted. # An object was deleted.
"type": "A String", # The type of delete action taken.
@@ -380,10 +399,285 @@
"endTime": "A String", # The end of the time range.
"startTime": "A String", # The start of the time range.
},
+ "target": { # Information about the target of activity. # The target this action affects (or empty if affecting all targets). This
+ # represents the state of the target immediately after this action occurred.
+ "teamDrive": { # This item is deprecated; please see `Drive` instead. # This field is deprecated; please use the `drive` field instead.
+ "root": { # A Drive item, such as a file or folder. # This field is deprecated; please see `Drive.root` instead.
+ "mimeType": "A String", # The MIME type of the Drive item. See
+ # https://developers.google.com/drive/v3/web/mime-types.
+ "name": "A String", # The target Drive item. The format is "items/ITEM_ID".
+ "title": "A String", # The title of the Drive item.
+ "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
+ # folder.
+ "type": "A String", # The type of Drive folder.
+ },
+ "driveFile": { # A Drive item which is a file. # The Drive item is a file.
+ },
+ "file": { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
+ },
+ "owner": { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
+ "teamDrive": { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
+ "name": "A String", # This field is deprecated; please see `DriveReference.name` instead.
+ "title": "A String", # This field is deprecated; please see `DriveReference.title` instead.
+ },
+ "domain": { # Information about a domain. # The domain of the Drive item owner.
+ "name": "A String", # The name of the domain, e.g. "google.com".
+ "legacyId": "A String", # An opaque string used to identify this domain.
+ },
+ "drive": { # A lightweight reference to a shared drive. # The drive that owns the item.
+ "name": "A String", # The resource name of the shared drive. The format is
+ # "COLLECTION_ID/DRIVE_ID". Clients should not assume a specific collection
+ # ID for this resource name.
+ "title": "A String", # The title of the shared drive.
+ },
+ "user": { # Information about an end user. # The user that owns the Drive item.
+ "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
+ },
+ "knownUser": { # A known user. # A known user.
+ "personName": "A String", # The identifier for this user that can be used with the People API to get
+ # more information. The format is "people/ACCOUNT_ID". See
+ # https://developers.google.com/people/.
+ "isCurrentUser": True or False, # True if this is the user making the request.
+ },
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
+ },
+ },
+ "folder": { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
+ "type": "A String", # This field is deprecated; please see `DriveFolder.type` instead.
+ },
+ },
+ "name": "A String", # This field is deprecated; please see `Drive.name` instead.
+ "title": "A String", # This field is deprecated; please see `Drive.title` instead.
+ },
+ "fileComment": { # A comment on a file. # The target is a comment on a Drive file.
+ "legacyDiscussionId": "A String", # The discussion thread to which the comment was added. This identifier is an
+ # opaque string compatible with the Drive API and references the first
+ # comment in a discussion; see
+ # https://developers.google.com/drive/v3/reference/comments/get
+ "legacyCommentId": "A String", # The comment in the discussion thread. This identifier is an opaque string
+ # compatible with the Drive API; see
+ # https://developers.google.com/drive/v3/reference/comments/get
+ "parent": { # A Drive item, such as a file or folder. # The Drive item containing this comment.
+ "mimeType": "A String", # The MIME type of the Drive item. See
+ # https://developers.google.com/drive/v3/web/mime-types.
+ "name": "A String", # The target Drive item. The format is "items/ITEM_ID".
+ "title": "A String", # The title of the Drive item.
+ "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
+ # folder.
+ "type": "A String", # The type of Drive folder.
+ },
+ "driveFile": { # A Drive item which is a file. # The Drive item is a file.
+ },
+ "file": { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
+ },
+ "owner": { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
+ "teamDrive": { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
+ "name": "A String", # This field is deprecated; please see `DriveReference.name` instead.
+ "title": "A String", # This field is deprecated; please see `DriveReference.title` instead.
+ },
+ "domain": { # Information about a domain. # The domain of the Drive item owner.
+ "name": "A String", # The name of the domain, e.g. "google.com".
+ "legacyId": "A String", # An opaque string used to identify this domain.
+ },
+ "drive": { # A lightweight reference to a shared drive. # The drive that owns the item.
+ "name": "A String", # The resource name of the shared drive. The format is
+ # "COLLECTION_ID/DRIVE_ID". Clients should not assume a specific collection
+ # ID for this resource name.
+ "title": "A String", # The title of the shared drive.
+ },
+ "user": { # Information about an end user. # The user that owns the Drive item.
+ "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
+ },
+ "knownUser": { # A known user. # A known user.
+ "personName": "A String", # The identifier for this user that can be used with the People API to get
+ # more information. The format is "people/ACCOUNT_ID". See
+ # https://developers.google.com/people/.
+ "isCurrentUser": True or False, # True if this is the user making the request.
+ },
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
+ },
+ },
+ "folder": { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
+ "type": "A String", # This field is deprecated; please see `DriveFolder.type` instead.
+ },
+ },
+ "linkToDiscussion": "A String", # The link to the discussion thread containing this comment, for example,
+ # "https://docs.google.com/DOCUMENT_ID/edit?disco=THREAD_ID".
+ },
+ "driveItem": { # A Drive item, such as a file or folder. # The target is a Drive item.
+ "mimeType": "A String", # The MIME type of the Drive item. See
+ # https://developers.google.com/drive/v3/web/mime-types.
+ "name": "A String", # The target Drive item. The format is "items/ITEM_ID".
+ "title": "A String", # The title of the Drive item.
+ "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
+ # folder.
+ "type": "A String", # The type of Drive folder.
+ },
+ "driveFile": { # A Drive item which is a file. # The Drive item is a file.
+ },
+ "file": { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
+ },
+ "owner": { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
+ "teamDrive": { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
+ "name": "A String", # This field is deprecated; please see `DriveReference.name` instead.
+ "title": "A String", # This field is deprecated; please see `DriveReference.title` instead.
+ },
+ "domain": { # Information about a domain. # The domain of the Drive item owner.
+ "name": "A String", # The name of the domain, e.g. "google.com".
+ "legacyId": "A String", # An opaque string used to identify this domain.
+ },
+ "drive": { # A lightweight reference to a shared drive. # The drive that owns the item.
+ "name": "A String", # The resource name of the shared drive. The format is
+ # "COLLECTION_ID/DRIVE_ID". Clients should not assume a specific collection
+ # ID for this resource name.
+ "title": "A String", # The title of the shared drive.
+ },
+ "user": { # Information about an end user. # The user that owns the Drive item.
+ "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
+ },
+ "knownUser": { # A known user. # A known user.
+ "personName": "A String", # The identifier for this user that can be used with the People API to get
+ # more information. The format is "people/ACCOUNT_ID". See
+ # https://developers.google.com/people/.
+ "isCurrentUser": True or False, # True if this is the user making the request.
+ },
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
+ },
+ },
+ "folder": { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
+ "type": "A String", # This field is deprecated; please see `DriveFolder.type` instead.
+ },
+ },
+ "drive": { # Information about a shared drive. # The target is a shared drive.
+ "root": { # A Drive item, such as a file or folder. # The root of this shared drive.
+ "mimeType": "A String", # The MIME type of the Drive item. See
+ # https://developers.google.com/drive/v3/web/mime-types.
+ "name": "A String", # The target Drive item. The format is "items/ITEM_ID".
+ "title": "A String", # The title of the Drive item.
+ "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
+ # folder.
+ "type": "A String", # The type of Drive folder.
+ },
+ "driveFile": { # A Drive item which is a file. # The Drive item is a file.
+ },
+ "file": { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
+ },
+ "owner": { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
+ "teamDrive": { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
+ "name": "A String", # This field is deprecated; please see `DriveReference.name` instead.
+ "title": "A String", # This field is deprecated; please see `DriveReference.title` instead.
+ },
+ "domain": { # Information about a domain. # The domain of the Drive item owner.
+ "name": "A String", # The name of the domain, e.g. "google.com".
+ "legacyId": "A String", # An opaque string used to identify this domain.
+ },
+ "drive": { # A lightweight reference to a shared drive. # The drive that owns the item.
+ "name": "A String", # The resource name of the shared drive. The format is
+ # "COLLECTION_ID/DRIVE_ID". Clients should not assume a specific collection
+ # ID for this resource name.
+ "title": "A String", # The title of the shared drive.
+ },
+ "user": { # Information about an end user. # The user that owns the Drive item.
+ "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
+ },
+ "knownUser": { # A known user. # A known user.
+ "personName": "A String", # The identifier for this user that can be used with the People API to get
+ # more information. The format is "people/ACCOUNT_ID". See
+ # https://developers.google.com/people/.
+ "isCurrentUser": True or False, # True if this is the user making the request.
+ },
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
+ },
+ },
+ "folder": { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
+ "type": "A String", # This field is deprecated; please see `DriveFolder.type` instead.
+ },
+ },
+ "name": "A String", # The resource name of the shared drive. The format is
+ # "COLLECTION_ID/DRIVE_ID". Clients should not assume a specific collection
+ # ID for this resource name.
+ "title": "A String", # The title of the shared drive.
+ },
+ },
+ "actor": { # The actor of a Drive activity. # The actor responsible for this action (or empty if all actors are
+ # responsible).
+ "impersonation": { # Information about an impersonation, where an admin acts on behalf of an end # An account acting on behalf of another.
+ # user. Information about the acting admin is not currently available.
+ "impersonatedUser": { # Information about an end user. # The impersonated user.
+ "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
+ },
+ "knownUser": { # A known user. # A known user.
+ "personName": "A String", # The identifier for this user that can be used with the People API to get
+ # more information. The format is "people/ACCOUNT_ID". See
+ # https://developers.google.com/people/.
+ "isCurrentUser": True or False, # True if this is the user making the request.
+ },
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
+ },
+ },
+ "administrator": { # Empty message representing an administrator. # An administrator.
+ },
+ "user": { # Information about an end user. # An end user.
+ "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
+ },
+ "knownUser": { # A known user. # A known user.
+ "personName": "A String", # The identifier for this user that can be used with the People API to get
+ # more information. The format is "people/ACCOUNT_ID". See
+ # https://developers.google.com/people/.
+ "isCurrentUser": True or False, # True if this is the user making the request.
+ },
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
+ },
+ "anonymous": { # Empty message representing an anonymous user or indicating the authenticated # An anonymous user.
+ # user should be anonymized.
+ },
+ "system": { # Event triggered by system operations instead of end users. # A non-user actor (i.e. system triggered).
+ "type": "A String", # The type of the system event that may triggered activity.
+ },
+ },
"detail": { # Data describing the type and additional information of an action. # The type and detailed information about the action.
- "rename": { # An object was renamed. # An object was renamed.
- "newTitle": "A String", # The new title of the drive object.
- "oldTitle": "A String", # The previous title of the drive object.
+ "comment": { # A change about comments on an object. # A change about comments was made.
+ "assignment": { # A comment with an assignment. # A change on an assignment.
+ "subtype": "A String", # The sub-type of this event.
+ "assignedUser": { # Information about an end user. # The user to whom the comment was assigned.
+ "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
+ },
+ "knownUser": { # A known user. # A known user.
+ "personName": "A String", # The identifier for this user that can be used with the People API to get
+ # more information. The format is "people/ACCOUNT_ID". See
+ # https://developers.google.com/people/.
+ "isCurrentUser": True or False, # True if this is the user making the request.
+ },
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
+ },
+ },
+ "post": { # A regular posted comment. # A change on a regular posted comment.
+ "subtype": "A String", # The sub-type of this event.
+ },
+ "mentionedUsers": [ # Users who are mentioned in this comment.
+ { # Information about an end user.
+ "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
+ },
+ "knownUser": { # A known user. # A known user.
+ "personName": "A String", # The identifier for this user that can be used with the People API to get
+ # more information. The format is "people/ACCOUNT_ID". See
+ # https://developers.google.com/people/.
+ "isCurrentUser": True or False, # True if this is the user making the request.
+ },
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
+ },
+ ],
+ "suggestion": { # A suggestion. # A change on a suggestion.
+ "subtype": "A String", # The sub-type of this event.
+ },
},
"permissionChange": { # A change of the permission setting on an item. # The permission on an object was changed.
"removedPermissions": [ # The set of permissions removed by this change.
@@ -399,22 +693,22 @@
"anyone": { # Represents any user (including a logged out user). # If set, this permission applies to anyone, even logged out users.
},
"role": "A String", # Indicates the
- # <a href="/drive/web/manage-sharing#roles">Google Drive permissions
- # role</a>. The role determines a user's ability to read, write, and
+ # <a href="/drive/web/manage-sharing#roles">Google Drive permissions
+ # role</a>. The role determines a user's ability to read, write, and
# comment on items.
"allowDiscovery": True or False, # If true, the item can be discovered (e.g. in the user's "Shared with me"
# collection) without needing a link to the item.
"user": { # Information about an end user. # The user to whom this permission applies.
"unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
},
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
"knownUser": { # A known user. # A known user.
"personName": "A String", # The identifier for this user that can be used with the People API to get
# more information. The format is "people/ACCOUNT_ID". See
# https://developers.google.com/people/.
"isCurrentUser": True or False, # True if this is the user making the request.
},
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
},
},
],
@@ -431,34 +725,31 @@
"anyone": { # Represents any user (including a logged out user). # If set, this permission applies to anyone, even logged out users.
},
"role": "A String", # Indicates the
- # <a href="/drive/web/manage-sharing#roles">Google Drive permissions
- # role</a>. The role determines a user's ability to read, write, and
+ # <a href="/drive/web/manage-sharing#roles">Google Drive permissions
+ # role</a>. The role determines a user's ability to read, write, and
# comment on items.
"allowDiscovery": True or False, # If true, the item can be discovered (e.g. in the user's "Shared with me"
# collection) without needing a link to the item.
"user": { # Information about an end user. # The user to whom this permission applies.
"unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
},
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
"knownUser": { # A known user. # A known user.
"personName": "A String", # The identifier for this user that can be used with the People API to get
# more information. The format is "people/ACCOUNT_ID". See
# https://developers.google.com/people/.
"isCurrentUser": True or False, # True if this is the user making the request.
},
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
},
},
],
},
- "dlpChange": { # A change in the object's data leak prevention status. # A change happened in data leak prevention status.
- "type": "A String", # The type of Data Leak Prevention (DLP) change.
- },
"reference": { # Activity in applications other than Drive. # An object was referenced in an application outside of Drive/Docs.
"type": "A String", # The reference type corresponding to this event.
},
- "restore": { # A deleted object was restored. # A deleted object was restored.
- "type": "A String", # The type of restore action taken.
+ "dlpChange": { # A change in the object's data leak prevention status. # A change happened in data leak prevention status.
+ "type": "A String", # The type of Data Leak Prevention (DLP) change.
},
"edit": { # An empty message indicating an object was edited. # An object was edited.
},
@@ -484,7 +775,8 @@
"driveItem": { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
"name": "A String", # The target Drive item. The format is "items/ITEM_ID".
"title": "A String", # The title of the Drive item.
- "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder.
+ "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
+ # folder.
"type": "A String", # The type of Drive folder.
},
"driveFile": { # A Drive item which is a file. # The Drive item is a file.
@@ -517,7 +809,8 @@
"driveItem": { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
"name": "A String", # The target Drive item. The format is "items/ITEM_ID".
"title": "A String", # The title of the Drive item.
- "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder.
+ "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
+ # folder.
"type": "A String", # The type of Drive folder.
},
"driveFile": { # A Drive item which is a file. # The Drive item is a file.
@@ -545,7 +838,8 @@
"driveItem": { # A lightweight reference to a Drive item, such as a file or folder. # The target is a Drive item.
"name": "A String", # The target Drive item. The format is "items/ITEM_ID".
"title": "A String", # The title of the Drive item.
- "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder.
+ "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
+ # folder.
"type": "A String", # The type of Drive folder.
},
"driveFile": { # A Drive item which is a file. # The Drive item is a file.
@@ -565,273 +859,17 @@
},
],
},
- "comment": { # A change about comments on an object. # A change about comments was made.
- "assignment": { # A comment with an assignment. # A change on an assignment.
- "subtype": "A String", # The sub-type of this event.
- },
- "post": { # A regular posted comment. # A change on a regular posted comment.
- "subtype": "A String", # The sub-type of this event.
- },
- "mentionedUsers": [ # Users who are mentioned in this comment.
- { # Information about an end user.
- "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
- },
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
- "knownUser": { # A known user. # A known user.
- "personName": "A String", # The identifier for this user that can be used with the People API to get
- # more information. The format is "people/ACCOUNT_ID". See
- # https://developers.google.com/people/.
- "isCurrentUser": True or False, # True if this is the user making the request.
- },
- },
- ],
- "suggestion": { # A suggestion. # A change on a suggestion.
- "subtype": "A String", # The sub-type of this event.
- },
+ "rename": { # An object was renamed. # An object was renamed.
+ "newTitle": "A String", # The new title of the drive object.
+ "oldTitle": "A String", # The previous title of the drive object.
+ },
+ "restore": { # A deleted object was restored. # A deleted object was restored.
+ "type": "A String", # The type of restore action taken.
},
"delete": { # An object was deleted. # An object was deleted.
"type": "A String", # The type of delete action taken.
},
},
- "actor": { # The actor of a Drive activity. # The actor responsible for this action (or empty if all actors are
- # responsible).
- "impersonation": { # Information about an impersonation, where an admin acts on behalf of an end # An account acting on behalf of another.
- # user. Information about the acting admin is not currently available.
- "impersonatedUser": { # Information about an end user. # The impersonated user.
- "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
- },
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
- "knownUser": { # A known user. # A known user.
- "personName": "A String", # The identifier for this user that can be used with the People API to get
- # more information. The format is "people/ACCOUNT_ID". See
- # https://developers.google.com/people/.
- "isCurrentUser": True or False, # True if this is the user making the request.
- },
- },
- },
- "administrator": { # Empty message representing an administrator. # An administrator.
- },
- "user": { # Information about an end user. # An end user.
- "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
- },
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
- "knownUser": { # A known user. # A known user.
- "personName": "A String", # The identifier for this user that can be used with the People API to get
- # more information. The format is "people/ACCOUNT_ID". See
- # https://developers.google.com/people/.
- "isCurrentUser": True or False, # True if this is the user making the request.
- },
- },
- "anonymous": { # Empty message representing an anonymous user or indicating the authenticated # An anonymous user.
- # user should be anonymized.
- },
- "system": { # Event triggered by system operations instead of end users. # A non-user actor (i.e. system triggered).
- "type": "A String", # The type of the system event that may triggered activity.
- },
- },
- "target": { # Information about the target of activity. # The target this action affects (or empty if affecting all targets). This
- # represents the state of the target immediately after this action occurred.
- "teamDrive": { # This item is deprecated; please see `Drive` instead. # This field is deprecated; please use the `drive` field instead.
- "root": { # A Drive item, such as a file or folder. # This field is deprecated; please see `Drive.root` instead.
- "mimeType": "A String", # The MIME type of the Drive item. See
- # https://developers.google.com/drive/v3/web/mime-types.
- "name": "A String", # The target Drive item. The format is "items/ITEM_ID".
- "title": "A String", # The title of the Drive item.
- "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder.
- "type": "A String", # The type of Drive folder.
- },
- "driveFile": { # A Drive item which is a file. # The Drive item is a file.
- },
- "file": { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
- },
- "owner": { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
- "teamDrive": { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
- "name": "A String", # This field is deprecated; please see `DriveReference.name` instead.
- "title": "A String", # This field is deprecated; please see `DriveReference.title` instead.
- },
- "domain": { # Information about a domain. # The domain of the Drive item owner.
- "name": "A String", # The name of the domain, e.g. "google.com".
- "legacyId": "A String", # An opaque string used to identify this domain.
- },
- "drive": { # A lightweight reference to a shared drive. # The drive that owns the item.
- "name": "A String", # The resource name of the shared drive. The format is
- # "COLLECTION_ID/DRIVE_ID". Clients should not assume a specific collection
- # ID for this resource name.
- "title": "A String", # The title of the shared drive.
- },
- "user": { # Information about an end user. # The user that owns the Drive item.
- "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
- },
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
- "knownUser": { # A known user. # A known user.
- "personName": "A String", # The identifier for this user that can be used with the People API to get
- # more information. The format is "people/ACCOUNT_ID". See
- # https://developers.google.com/people/.
- "isCurrentUser": True or False, # True if this is the user making the request.
- },
- },
- },
- "folder": { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
- "type": "A String", # This field is deprecated; please see `DriveFolder.type` instead.
- },
- },
- "name": "A String", # This field is deprecated; please see `Drive.name` instead.
- "title": "A String", # This field is deprecated; please see `Drive.title` instead.
- },
- "fileComment": { # A comment on a file. # The target is a comment on a Drive file.
- "legacyCommentId": "A String", # The comment in the discussion thread. This identifier is an opaque string
- # compatible with the Drive API; see
- # https://developers.google.com/drive/v3/reference/comments/get
- "legacyDiscussionId": "A String", # The discussion thread to which the comment was added. This identifier is an
- # opaque string compatible with the Drive API and references the first
- # comment in a discussion; see
- # https://developers.google.com/drive/v3/reference/comments/get
- "parent": { # A Drive item, such as a file or folder. # The Drive item containing this comment.
- "mimeType": "A String", # The MIME type of the Drive item. See
- # https://developers.google.com/drive/v3/web/mime-types.
- "name": "A String", # The target Drive item. The format is "items/ITEM_ID".
- "title": "A String", # The title of the Drive item.
- "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder.
- "type": "A String", # The type of Drive folder.
- },
- "driveFile": { # A Drive item which is a file. # The Drive item is a file.
- },
- "file": { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
- },
- "owner": { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
- "teamDrive": { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
- "name": "A String", # This field is deprecated; please see `DriveReference.name` instead.
- "title": "A String", # This field is deprecated; please see `DriveReference.title` instead.
- },
- "domain": { # Information about a domain. # The domain of the Drive item owner.
- "name": "A String", # The name of the domain, e.g. "google.com".
- "legacyId": "A String", # An opaque string used to identify this domain.
- },
- "drive": { # A lightweight reference to a shared drive. # The drive that owns the item.
- "name": "A String", # The resource name of the shared drive. The format is
- # "COLLECTION_ID/DRIVE_ID". Clients should not assume a specific collection
- # ID for this resource name.
- "title": "A String", # The title of the shared drive.
- },
- "user": { # Information about an end user. # The user that owns the Drive item.
- "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
- },
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
- "knownUser": { # A known user. # A known user.
- "personName": "A String", # The identifier for this user that can be used with the People API to get
- # more information. The format is "people/ACCOUNT_ID". See
- # https://developers.google.com/people/.
- "isCurrentUser": True or False, # True if this is the user making the request.
- },
- },
- },
- "folder": { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
- "type": "A String", # This field is deprecated; please see `DriveFolder.type` instead.
- },
- },
- "linkToDiscussion": "A String", # The link to the discussion thread containing this comment, for example,
- # "https://docs.google.com/DOCUMENT_ID/edit?disco=THREAD_ID".
- },
- "driveItem": { # A Drive item, such as a file or folder. # The target is a Drive item.
- "mimeType": "A String", # The MIME type of the Drive item. See
- # https://developers.google.com/drive/v3/web/mime-types.
- "name": "A String", # The target Drive item. The format is "items/ITEM_ID".
- "title": "A String", # The title of the Drive item.
- "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder.
- "type": "A String", # The type of Drive folder.
- },
- "driveFile": { # A Drive item which is a file. # The Drive item is a file.
- },
- "file": { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
- },
- "owner": { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
- "teamDrive": { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
- "name": "A String", # This field is deprecated; please see `DriveReference.name` instead.
- "title": "A String", # This field is deprecated; please see `DriveReference.title` instead.
- },
- "domain": { # Information about a domain. # The domain of the Drive item owner.
- "name": "A String", # The name of the domain, e.g. "google.com".
- "legacyId": "A String", # An opaque string used to identify this domain.
- },
- "drive": { # A lightweight reference to a shared drive. # The drive that owns the item.
- "name": "A String", # The resource name of the shared drive. The format is
- # "COLLECTION_ID/DRIVE_ID". Clients should not assume a specific collection
- # ID for this resource name.
- "title": "A String", # The title of the shared drive.
- },
- "user": { # Information about an end user. # The user that owns the Drive item.
- "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
- },
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
- "knownUser": { # A known user. # A known user.
- "personName": "A String", # The identifier for this user that can be used with the People API to get
- # more information. The format is "people/ACCOUNT_ID". See
- # https://developers.google.com/people/.
- "isCurrentUser": True or False, # True if this is the user making the request.
- },
- },
- },
- "folder": { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
- "type": "A String", # This field is deprecated; please see `DriveFolder.type` instead.
- },
- },
- "drive": { # Information about a shared drive. # The target is a shared drive.
- "root": { # A Drive item, such as a file or folder. # The root of this shared drive.
- "mimeType": "A String", # The MIME type of the Drive item. See
- # https://developers.google.com/drive/v3/web/mime-types.
- "name": "A String", # The target Drive item. The format is "items/ITEM_ID".
- "title": "A String", # The title of the Drive item.
- "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder.
- "type": "A String", # The type of Drive folder.
- },
- "driveFile": { # A Drive item which is a file. # The Drive item is a file.
- },
- "file": { # This item is deprecated; please see `DriveFile` instead. # This field is deprecated; please use the `driveFile` field instead.
- },
- "owner": { # Information about the owner of a Drive item. # Information about the owner of this Drive item.
- "teamDrive": { # This item is deprecated; please see `DriveReference` instead. # This field is deprecated; please use the `drive` field instead.
- "name": "A String", # This field is deprecated; please see `DriveReference.name` instead.
- "title": "A String", # This field is deprecated; please see `DriveReference.title` instead.
- },
- "domain": { # Information about a domain. # The domain of the Drive item owner.
- "name": "A String", # The name of the domain, e.g. "google.com".
- "legacyId": "A String", # An opaque string used to identify this domain.
- },
- "drive": { # A lightweight reference to a shared drive. # The drive that owns the item.
- "name": "A String", # The resource name of the shared drive. The format is
- # "COLLECTION_ID/DRIVE_ID". Clients should not assume a specific collection
- # ID for this resource name.
- "title": "A String", # The title of the shared drive.
- },
- "user": { # Information about an end user. # The user that owns the Drive item.
- "unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
- },
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
- "knownUser": { # A known user. # A known user.
- "personName": "A String", # The identifier for this user that can be used with the People API to get
- # more information. The format is "people/ACCOUNT_ID". See
- # https://developers.google.com/people/.
- "isCurrentUser": True or False, # True if this is the user making the request.
- },
- },
- },
- "folder": { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
- "type": "A String", # This field is deprecated; please see `DriveFolder.type` instead.
- },
- },
- "name": "A String", # The resource name of the shared drive. The format is
- # "COLLECTION_ID/DRIVE_ID". Clients should not assume a specific collection
- # ID for this resource name.
- "title": "A String", # The title of the shared drive.
- },
- },
},
],
"actors": [ # All actor(s) responsible for the activity.
@@ -841,14 +879,14 @@
"impersonatedUser": { # Information about an end user. # The impersonated user.
"unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
},
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
"knownUser": { # A known user. # A known user.
"personName": "A String", # The identifier for this user that can be used with the People API to get
# more information. The format is "people/ACCOUNT_ID". See
# https://developers.google.com/people/.
"isCurrentUser": True or False, # True if this is the user making the request.
},
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
},
},
"administrator": { # Empty message representing an administrator. # An administrator.
@@ -856,14 +894,14 @@
"user": { # Information about an end user. # An end user.
"unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
},
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
"knownUser": { # A known user. # A known user.
"personName": "A String", # The identifier for this user that can be used with the People API to get
# more information. The format is "people/ACCOUNT_ID". See
# https://developers.google.com/people/.
"isCurrentUser": True or False, # True if this is the user making the request.
},
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
},
"anonymous": { # Empty message representing an anonymous user or indicating the authenticated # An anonymous user.
# user should be anonymized.
@@ -883,7 +921,8 @@
# https://developers.google.com/drive/v3/web/mime-types.
"name": "A String", # The target Drive item. The format is "items/ITEM_ID".
"title": "A String", # The title of the Drive item.
- "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder.
+ "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
+ # folder.
"type": "A String", # The type of Drive folder.
},
"driveFile": { # A Drive item which is a file. # The Drive item is a file.
@@ -908,14 +947,14 @@
"user": { # Information about an end user. # The user that owns the Drive item.
"unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
},
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
"knownUser": { # A known user. # A known user.
"personName": "A String", # The identifier for this user that can be used with the People API to get
# more information. The format is "people/ACCOUNT_ID". See
# https://developers.google.com/people/.
"isCurrentUser": True or False, # True if this is the user making the request.
},
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
},
},
"folder": { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
@@ -926,19 +965,20 @@
"title": "A String", # This field is deprecated; please see `Drive.title` instead.
},
"fileComment": { # A comment on a file. # The target is a comment on a Drive file.
- "legacyCommentId": "A String", # The comment in the discussion thread. This identifier is an opaque string
- # compatible with the Drive API; see
- # https://developers.google.com/drive/v3/reference/comments/get
"legacyDiscussionId": "A String", # The discussion thread to which the comment was added. This identifier is an
# opaque string compatible with the Drive API and references the first
# comment in a discussion; see
# https://developers.google.com/drive/v3/reference/comments/get
+ "legacyCommentId": "A String", # The comment in the discussion thread. This identifier is an opaque string
+ # compatible with the Drive API; see
+ # https://developers.google.com/drive/v3/reference/comments/get
"parent": { # A Drive item, such as a file or folder. # The Drive item containing this comment.
"mimeType": "A String", # The MIME type of the Drive item. See
# https://developers.google.com/drive/v3/web/mime-types.
"name": "A String", # The target Drive item. The format is "items/ITEM_ID".
"title": "A String", # The title of the Drive item.
- "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder.
+ "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
+ # folder.
"type": "A String", # The type of Drive folder.
},
"driveFile": { # A Drive item which is a file. # The Drive item is a file.
@@ -963,14 +1003,14 @@
"user": { # Information about an end user. # The user that owns the Drive item.
"unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
},
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
"knownUser": { # A known user. # A known user.
"personName": "A String", # The identifier for this user that can be used with the People API to get
# more information. The format is "people/ACCOUNT_ID". See
# https://developers.google.com/people/.
"isCurrentUser": True or False, # True if this is the user making the request.
},
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
},
},
"folder": { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
@@ -985,7 +1025,8 @@
# https://developers.google.com/drive/v3/web/mime-types.
"name": "A String", # The target Drive item. The format is "items/ITEM_ID".
"title": "A String", # The title of the Drive item.
- "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder.
+ "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
+ # folder.
"type": "A String", # The type of Drive folder.
},
"driveFile": { # A Drive item which is a file. # The Drive item is a file.
@@ -1010,14 +1051,14 @@
"user": { # Information about an end user. # The user that owns the Drive item.
"unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
},
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
"knownUser": { # A known user. # A known user.
"personName": "A String", # The identifier for this user that can be used with the People API to get
# more information. The format is "people/ACCOUNT_ID". See
# https://developers.google.com/people/.
"isCurrentUser": True or False, # True if this is the user making the request.
},
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
},
},
"folder": { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.
@@ -1030,7 +1071,8 @@
# https://developers.google.com/drive/v3/web/mime-types.
"name": "A String", # The target Drive item. The format is "items/ITEM_ID".
"title": "A String", # The title of the Drive item.
- "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder.
+ "driveFolder": { # A Drive item which is a folder. # The Drive item is a folder. Includes information about the type of
+ # folder.
"type": "A String", # The type of Drive folder.
},
"driveFile": { # A Drive item which is a file. # The Drive item is a file.
@@ -1055,14 +1097,14 @@
"user": { # Information about an end user. # The user that owns the Drive item.
"unknownUser": { # A user about whom nothing is currently known. # A user about whom nothing is currently known.
},
- "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
- },
"knownUser": { # A known user. # A known user.
"personName": "A String", # The identifier for this user that can be used with the People API to get
# more information. The format is "people/ACCOUNT_ID". See
# https://developers.google.com/people/.
"isCurrentUser": True or False, # True if this is the user making the request.
},
+ "deletedUser": { # A user whose account has since been deleted. # A user whose account has since been deleted.
+ },
},
},
"folder": { # This item is deprecated; please see `DriveFolder` instead. # This field is deprecated; please use the `driveFolder` field instead.