@maxim_mazurok/gapi.client.drive-v3 0.0.20230219 → 0.0.20230306

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://www.googleapis.com/discovery/v1/apis/drive/v3/rest
12
- // Revision: 20230219
12
+ // Revision: 20230306
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -191,7 +191,7 @@ declare namespace gapi.client {
191
191
  }
192
192
  interface Drive {
193
193
  /**
194
- * An image file and cropping parameters from which a background image for this shared drive is set. This is a write only field; it can only be set on drive.drives.update requests that
194
+ * An image file and cropping parameters from which a background image for this shared drive is set. This is a write-only field; it can only be set on drive.drives.update requests that
195
195
  * don't set themeId. When specified, all fields of the backgroundImageFile must be set.
196
196
  */
197
197
  backgroundImageFile?: {
@@ -258,7 +258,7 @@ declare namespace gapi.client {
258
258
  /** Whether the current user can trash children from folders in this shared drive. */
259
259
  canTrashChildren?: boolean;
260
260
  };
261
- /** The color of this shared drive as an RGB hex string. It can only be set on a drive.drives.update request that does not set themeId. */
261
+ /** The color of this shared drive as an RGB hex string. It can only be set on drive.drives.update requests that don't set themeId. */
262
262
  colorRgb?: string;
263
263
  /** The time at which the shared drive was created (RFC 3339 date-time). */
264
264
  createdTime?: string;
@@ -292,7 +292,7 @@ declare namespace gapi.client {
292
292
  sharingFoldersRequiresOrganizerPermission?: boolean;
293
293
  };
294
294
  /**
295
- * The ID of the theme from which the background image and color will be set. The set of possible driveThemes can be retrieved from a drive.about.get response. When not specified on a
295
+ * The ID of the theme from which the background image and color are set. The set of possible driveThemes can be retrieved from a drive.about.get response. When not specified on a
296
296
  * drive.drives.create request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set
297
297
  * colorRgb or backgroundImageFile.
298
298
  */
@@ -1661,7 +1661,7 @@ declare namespace gapi.client {
1661
1661
  /** Deprecated. Please use quotaUser instead. */
1662
1662
  userIp?: string;
1663
1663
  }): Request<Drive>;
1664
- /** Updates the metadate for a shared drive. */
1664
+ /** Updates the metadata for a shared drive. */
1665
1665
  update(request: {
1666
1666
  /** Data format for the response. */
1667
1667
  alt?: string;
@@ -1677,10 +1677,7 @@ declare namespace gapi.client {
1677
1677
  prettyPrint?: boolean;
1678
1678
  /** An opaque string that represents a user for quota purposes. Must not exceed 40 characters. */
1679
1679
  quotaUser?: string;
1680
- /**
1681
- * Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive
1682
- * belongs.
1683
- */
1680
+ /** Issue the request as a domain administrator. If set to true, then the requester is granted access if they're an administrator of the domain to which the shared drive belongs. */
1684
1681
  useDomainAdminAccess?: boolean;
1685
1682
  /** Deprecated. Please use quotaUser instead. */
1686
1683
  userIp?: string;
@@ -1702,10 +1699,7 @@ declare namespace gapi.client {
1702
1699
  prettyPrint?: boolean;
1703
1700
  /** An opaque string that represents a user for quota purposes. Must not exceed 40 characters. */
1704
1701
  quotaUser?: string;
1705
- /**
1706
- * Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive
1707
- * belongs.
1708
- */
1702
+ /** Issue the request as a domain administrator. If set to true, then the requester is granted access if they're an administrator of the domain to which the shared drive belongs. */
1709
1703
  useDomainAdminAccess?: boolean;
1710
1704
  /** Deprecated. Please use quotaUser instead. */
1711
1705
  userIp?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.drive-v3",
3
- "version": "0.0.20230219",
3
+ "version": "0.0.20230306",
4
4
  "description": "TypeScript typings for Drive API v3",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -168,7 +168,7 @@ Restores a shared drive to the default view.
168
168
  await gapi.client.drive.drives.unhide({ driveId: "driveId", });
169
169
 
170
170
  /*
171
- Updates the metadate for a shared drive.
171
+ Updates the metadata for a shared drive.
172
172
  */
173
173
  await gapi.client.drive.drives.update({ driveId: "driveId", });
174
174
 
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230219
6
+ // Revision: 20230306
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -301,7 +301,7 @@ gapi.load('client', async () => {
301
301
  await gapi.client.drive.drives.unhide({
302
302
  driveId: "Test string",
303
303
  });
304
- /** Updates the metadate for a shared drive. */
304
+ /** Updates the metadata for a shared drive. */
305
305
  await gapi.client.drive.drives.update({
306
306
  driveId: "Test string",
307
307
  useDomainAdminAccess: true,