@maxim_mazurok/gapi.client.workstations-v1beta 0.0.20230201 → 0.0.20230208

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.
Files changed (3) hide show
  1. package/index.d.ts +24 -23
  2. package/package.json +1 -1
  3. package/tests.ts +1 -1
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://workstations.googleapis.com/$discovery/rest?version=v1beta
12
- // Revision: 20230201
12
+ // Revision: 20230208
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -82,11 +82,12 @@ declare namespace gapi.client {
82
82
  workingDir?: string;
83
83
  }
84
84
  interface CustomerEncryptionKey {
85
- /** The name of the encryption key that is stored in Google Cloud KMS, for example, `projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME`. */
85
+ /** The name of the Google Cloud KMS encryption key. For example, `projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME`. */
86
86
  kmsKey?: string;
87
87
  /**
88
- * The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. However, it is recommended to use a
89
- * separate service account and to follow KMS best practices mentioned at https://cloud.google.com/kms/docs/separation-of-duties
88
+ * The service account to use with the specified KMS key. We recommend that you use a separate service account and follow KMS best practices. For more information, see [Separation of
89
+ * duties](https://cloud.google.com/kms/docs/separation-of-duties) and `gcloud kms keys add-iam-policy-binding`
90
+ * [`--member`](https://cloud.google.com/sdk/gcloud/reference/kms/keys/add-iam-policy-binding#--member).
90
91
  */
91
92
  kmsKeyServiceAccount?: string;
92
93
  }
@@ -195,7 +196,7 @@ declare namespace gapi.client {
195
196
  nextPageToken?: string;
196
197
  /** Unreachable resources. */
197
198
  unreachable?: string[];
198
- /** The requested clusters. */
199
+ /** The requested workstation clusters. */
199
200
  workstationClusters?: WorkstationCluster[];
200
201
  }
201
202
  interface ListWorkstationConfigsResponse {
@@ -428,11 +429,11 @@ declare namespace gapi.client {
428
429
  /** Human-readable name for this resource. */
429
430
  displayName?: string;
430
431
  /**
431
- * Encrypts resources of this workstation configuration using a customer-specified encryption key. If specified, the boot disk of the Compute Engine instance and the persistent disk
432
- * will be encrypted using this encryption key. If this field is not set, the disks will be encrypted using a generated key. Customer-specified encryption keys do not protect disk
433
- * metadata. If the customer-specified encryption key is rotated, when the workstation instance is stopped, the system will attempt to recreate the persistent disk with the new version
434
- * of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk will be lost. If the encryption key is revoked,
435
- * the workstation session will automatically be stopped within 7 hours.
432
+ * Encrypts resources of this workstation configuration using a customer-managed encryption key. If specified, the boot disk of the Compute Engine instance and the persistent disk are
433
+ * encrypted using this encryption key. If this field is not set, the disks are encrypted using a generated key. Customer-managed encryption keys do not protect disk metadata. If the
434
+ * customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to
435
+ * keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk will be lost. If the encryption key is revoked, the workstation session
436
+ * will automatically be stopped within 7 hours.
436
437
  */
437
438
  encryptionKey?: CustomerEncryptionKey;
438
439
  /** Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding. */
@@ -453,8 +454,8 @@ declare namespace gapi.client {
453
454
  /** Output only. Indicates whether this resource is currently being updated to match its intended state. */
454
455
  reconciling?: boolean;
455
456
  /**
456
- * How long to wait before automatically stopping a workstation after it started. A value of 0 indicates that workstations using this config should never time out. Must be greater than
457
- * 0 and less than 24 hours if encryption_key is set. Defaults to 12 hours.
457
+ * How long to wait before automatically stopping a workstation after it started. A value of 0 indicates that workstations using this configuration should never time out. Must be
458
+ * greater than 0 and less than 24 hours if encryption_key is set. Defaults to 12 hours.
458
459
  */
459
460
  runningTimeout?: string;
460
461
  /** Output only. A system-assigned unique identified for this resource. */
@@ -1534,7 +1535,7 @@ declare namespace gapi.client {
1534
1535
  uploadType?: string;
1535
1536
  /** If set, validate the request and preview the review, but do not actually apply it. */
1536
1537
  validateOnly?: boolean;
1537
- /** Required. ID to use for the cluster. */
1538
+ /** Required. ID to use for the workstation cluster. */
1538
1539
  workstationClusterId?: string;
1539
1540
  /** Request body */
1540
1541
  resource: WorkstationCluster;
@@ -1566,7 +1567,7 @@ declare namespace gapi.client {
1566
1567
  uploadType?: string;
1567
1568
  /** If set, validate the request and preview the review, but do not actually apply it. */
1568
1569
  validateOnly?: boolean;
1569
- /** Required. ID to use for the cluster. */
1570
+ /** Required. ID to use for the workstation cluster. */
1570
1571
  workstationClusterId?: string;
1571
1572
  },
1572
1573
  body: WorkstationCluster): Request<Operation>;
@@ -1580,18 +1581,18 @@ declare namespace gapi.client {
1580
1581
  alt?: string;
1581
1582
  /** JSONP */
1582
1583
  callback?: string;
1583
- /** If set, the request will be rejected if the latest version of the cluster on the server does not have this etag. */
1584
+ /** If set, the request will be rejected if the latest version of the workstation cluster on the server does not have this etag. */
1584
1585
  etag?: string;
1585
1586
  /** Selector specifying which fields to include in a partial response. */
1586
1587
  fields?: string;
1587
1588
  /**
1588
- * If set, any workstation configurations and workstations in the cluster will also be deleted. Otherwise, the request will work only if the cluster has no configurations or
1589
- * workstations.
1589
+ * If set, any workstation configurations and workstations in the workstation cluster are also deleted. Otherwise, the request only works if the workstation cluster has no
1590
+ * configurations or workstations.
1590
1591
  */
1591
1592
  force?: boolean;
1592
1593
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1593
1594
  key?: string;
1594
- /** Required. Name of the cluster to delete. */
1595
+ /** Required. Name of the workstation cluster to delete. */
1595
1596
  name: string;
1596
1597
  /** OAuth 2.0 token for the current user. */
1597
1598
  oauth_token?: string;
@@ -1603,7 +1604,7 @@ declare namespace gapi.client {
1603
1604
  upload_protocol?: string;
1604
1605
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1605
1606
  uploadType?: string;
1606
- /** If set, validate the request and preview the review, but do not actually apply it. */
1607
+ /** If set, validate the request and preview the review, but do not apply it. */
1607
1608
  validateOnly?: boolean;
1608
1609
  }): Request<Operation>;
1609
1610
  /** Returns the requested workstation cluster. */
@@ -1670,7 +1671,7 @@ declare namespace gapi.client {
1670
1671
  "$.xgafv"?: string;
1671
1672
  /** OAuth access token. */
1672
1673
  access_token?: string;
1673
- /** If set, and the cluster is not found, a new cluster will be created. In this situation, update_mask is ignored. */
1674
+ /** If set, and the workstation cluster is not found, a new workstation cluster will be created. In this situation, update_mask is ignored. */
1674
1675
  allowMissing?: boolean;
1675
1676
  /** Data format for response. */
1676
1677
  alt?: string;
@@ -1688,7 +1689,7 @@ declare namespace gapi.client {
1688
1689
  prettyPrint?: boolean;
1689
1690
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1690
1691
  quotaUser?: string;
1691
- /** Required. Mask specifying which fields in the cluster should be updated. */
1692
+ /** Required. Mask that specifies which fields in the workstation cluster should be updated. */
1692
1693
  updateMask?: string;
1693
1694
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1694
1695
  upload_protocol?: string;
@@ -1704,7 +1705,7 @@ declare namespace gapi.client {
1704
1705
  "$.xgafv"?: string;
1705
1706
  /** OAuth access token. */
1706
1707
  access_token?: string;
1707
- /** If set, and the cluster is not found, a new cluster will be created. In this situation, update_mask is ignored. */
1708
+ /** If set, and the workstation cluster is not found, a new workstation cluster will be created. In this situation, update_mask is ignored. */
1708
1709
  allowMissing?: boolean;
1709
1710
  /** Data format for response. */
1710
1711
  alt?: string;
@@ -1722,7 +1723,7 @@ declare namespace gapi.client {
1722
1723
  prettyPrint?: boolean;
1723
1724
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1724
1725
  quotaUser?: string;
1725
- /** Required. Mask specifying which fields in the cluster should be updated. */
1726
+ /** Required. Mask that specifies which fields in the workstation cluster should be updated. */
1726
1727
  updateMask?: string;
1727
1728
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1728
1729
  upload_protocol?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workstations-v1beta",
3
- "version": "0.0.20230201",
3
+ "version": "0.0.20230208",
4
4
  "description": "TypeScript typings for Cloud Workstations API v1beta",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230201
6
+ // Revision: 20230208
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */