Skip to content

Commit

Permalink
feat(drive): update the api
Browse files Browse the repository at this point in the history
#### drive:v2

The following keys were added:
- schemas.File.properties.capabilities.properties.canChangeSecurityUpdateEnabled.type (Total Keys: 1)
- schemas.File.properties.linkShareMetadata (Total Keys: 3)
- schemas.File.properties.resourceKey.type (Total Keys: 1)
- schemas.File.properties.shortcutDetails.properties.targetResourceKey.type (Total Keys: 1)

#### drive:v3

The following keys were added:
- schemas.File.properties.capabilities.properties.canChangeSecurityUpdateEnabled.type (Total Keys: 1)
- schemas.File.properties.linkShareMetadata (Total Keys: 3)
- schemas.File.properties.resourceKey.type (Total Keys: 1)
- schemas.File.properties.shortcutDetails.properties.targetResourceKey.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Jun 29, 2021
1 parent 2568f82 commit 72cab88
Show file tree
Hide file tree
Showing 6 changed files with 224 additions and 4 deletions.
14 changes: 14 additions & 0 deletions docs/dyn/drive_v2.changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ <h3>Method Details</h3>
&quot;canAddMyDriveParent&quot;: True or False, # Whether the current user can add a parent for the item without removing an existing parent in the same request. Not populated for shared drive files.
&quot;canChangeCopyRequiresWriterPermission&quot;: True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this file.
&quot;canChangeRestrictedDownload&quot;: True or False, # Deprecated
&quot;canChangeSecurityUpdateEnabled&quot;: True or False, # Whether the current user can change the securityUpdateEnabled field on link share metadata.
&quot;canComment&quot;: True or False, # Whether the current user can comment on this file.
&quot;canCopy&quot;: True or False, # Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder.
&quot;canDelete&quot;: True or False, # Whether the current user can delete this file.
Expand Down Expand Up @@ -292,6 +293,10 @@ <h3>Method Details</h3>
},
&quot;lastModifyingUserName&quot;: &quot;A String&quot;, # Name of the last user to modify this file.
&quot;lastViewedByMeDate&quot;: &quot;A String&quot;, # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
&quot;linkShareMetadata&quot;: { # Contains details about the link URLs that clients are using to refer to this item.
&quot;securityUpdateEligible&quot;: True or False, # Whether the file is eligible for security update.
&quot;securityUpdateEnabled&quot;: True or False, # Whether the security update is enabled for this file.
},
&quot;markedViewedByMeDate&quot;: &quot;A String&quot;, # Deprecated.
&quot;md5Checksum&quot;: &quot;A String&quot;, # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Google Drive; it is not populated for Docs Editors or shortcut files.
&quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content&#x27;s MIME type.
Expand Down Expand Up @@ -411,6 +416,7 @@ <h3>Method Details</h3>
},
],
&quot;quotaBytesUsed&quot;: &quot;A String&quot;, # The number of quota bytes used by this file.
&quot;resourceKey&quot;: &quot;A String&quot;, # A key needed to access the item via a shared link.
&quot;selfLink&quot;: &quot;A String&quot;, # A link back to this file.
&quot;shareable&quot;: True or False, # Deprecated: use capabilities/canShare.
&quot;shared&quot;: True or False, # Whether the file has been shared. Not populated for items in shared drives.
Expand All @@ -428,6 +434,7 @@ <h3>Method Details</h3>
&quot;shortcutDetails&quot;: { # Shortcut file details. Only populated for shortcut files, which have the mimeType field set to application/vnd.google-apps.shortcut.
&quot;targetId&quot;: &quot;A String&quot;, # The ID of the file that this shortcut points to.
&quot;targetMimeType&quot;: &quot;A String&quot;, # The MIME type of the file that this shortcut points to. The value of this field is a snapshot of the target&#x27;s MIME type, captured when the shortcut is created.
&quot;targetResourceKey&quot;: &quot;A String&quot;, # The ResourceKey for the target file.
},
&quot;spaces&quot;: [ # The list of spaces which contain the file. Supported values are &#x27;drive&#x27;, &#x27;appDataFolder&#x27; and &#x27;photos&#x27;.
&quot;A String&quot;,
Expand Down Expand Up @@ -678,6 +685,7 @@ <h3>Method Details</h3>
&quot;canAddMyDriveParent&quot;: True or False, # Whether the current user can add a parent for the item without removing an existing parent in the same request. Not populated for shared drive files.
&quot;canChangeCopyRequiresWriterPermission&quot;: True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this file.
&quot;canChangeRestrictedDownload&quot;: True or False, # Deprecated
&quot;canChangeSecurityUpdateEnabled&quot;: True or False, # Whether the current user can change the securityUpdateEnabled field on link share metadata.
&quot;canComment&quot;: True or False, # Whether the current user can comment on this file.
&quot;canCopy&quot;: True or False, # Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder.
&quot;canDelete&quot;: True or False, # Whether the current user can delete this file.
Expand Down Expand Up @@ -801,6 +809,10 @@ <h3>Method Details</h3>
},
&quot;lastModifyingUserName&quot;: &quot;A String&quot;, # Name of the last user to modify this file.
&quot;lastViewedByMeDate&quot;: &quot;A String&quot;, # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
&quot;linkShareMetadata&quot;: { # Contains details about the link URLs that clients are using to refer to this item.
&quot;securityUpdateEligible&quot;: True or False, # Whether the file is eligible for security update.
&quot;securityUpdateEnabled&quot;: True or False, # Whether the security update is enabled for this file.
},
&quot;markedViewedByMeDate&quot;: &quot;A String&quot;, # Deprecated.
&quot;md5Checksum&quot;: &quot;A String&quot;, # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Google Drive; it is not populated for Docs Editors or shortcut files.
&quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content&#x27;s MIME type.
Expand Down Expand Up @@ -920,6 +932,7 @@ <h3>Method Details</h3>
},
],
&quot;quotaBytesUsed&quot;: &quot;A String&quot;, # The number of quota bytes used by this file.
&quot;resourceKey&quot;: &quot;A String&quot;, # A key needed to access the item via a shared link.
&quot;selfLink&quot;: &quot;A String&quot;, # A link back to this file.
&quot;shareable&quot;: True or False, # Deprecated: use capabilities/canShare.
&quot;shared&quot;: True or False, # Whether the file has been shared. Not populated for items in shared drives.
Expand All @@ -937,6 +950,7 @@ <h3>Method Details</h3>
&quot;shortcutDetails&quot;: { # Shortcut file details. Only populated for shortcut files, which have the mimeType field set to application/vnd.google-apps.shortcut.
&quot;targetId&quot;: &quot;A String&quot;, # The ID of the file that this shortcut points to.
&quot;targetMimeType&quot;: &quot;A String&quot;, # The MIME type of the file that this shortcut points to. The value of this field is a snapshot of the target&#x27;s MIME type, captured when the shortcut is created.
&quot;targetResourceKey&quot;: &quot;A String&quot;, # The ResourceKey for the target file.
},
&quot;spaces&quot;: [ # The list of spaces which contain the file. Supported values are &#x27;drive&#x27;, &#x27;appDataFolder&#x27; and &#x27;photos&#x27;.
&quot;A String&quot;,
Expand Down
Loading

0 comments on commit 72cab88

Please sign in to comment.