@maxim_mazurok/gapi.client.cloudfunctions-v2beta 0.0.20230320 → 0.0.20230330

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 +6 -8
  2. package/package.json +1 -1
  3. package/tests.ts +1 -3
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://cloudfunctions.googleapis.com/$discovery/rest?version=v2beta
12
- // Revision: 20230320
12
+ // Revision: 20230330
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -167,7 +167,7 @@ declare namespace gapi.client {
167
167
  /** An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service. */
168
168
  eventTrigger?: EventTrigger;
169
169
  /**
170
- * Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern
170
+ * [Preview] Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern
171
171
  * `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
172
172
  */
173
173
  kmsKeyName?: string;
@@ -183,8 +183,6 @@ declare namespace gapi.client {
183
183
  stateMessages?: GoogleCloudFunctionsV2betaStateMessage[];
184
184
  /** Output only. The last update timestamp of a Cloud Function. */
185
185
  updateTime?: string;
186
- /** Output only. The deployed url for the function. */
187
- url?: string;
188
186
  }
189
187
  // tslint:disable-next-line:no-empty-interface
190
188
  interface GenerateDownloadUrlRequest {
@@ -195,10 +193,10 @@ declare namespace gapi.client {
195
193
  }
196
194
  interface GenerateUploadUrlRequest {
197
195
  /**
198
- * Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function source code objects in intermediate Cloud Storage buckets. When you generate an upload url
199
- * and upload your source code, it gets copied to an intermediate Cloud Storage bucket. The source code is then copied to a versioned directory in the sources bucket in the consumer
200
- * project during the function deployment. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The Google Cloud Functions
201
- * service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter
196
+ * [Preview] Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function source code objects in intermediate Cloud Storage buckets. When you generate an
197
+ * upload url and upload your source code, it gets copied to an intermediate Cloud Storage bucket. The source code is then copied to a versioned directory in the sources bucket in the
198
+ * consumer project during the function deployment. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The Google Cloud
199
+ * Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter
202
200
  * (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred).
203
201
  */
204
202
  kmsKeyName?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudfunctions-v2beta",
3
- "version": "0.0.20230320",
3
+ "version": "0.0.20230330",
4
4
  "description": "TypeScript typings for Cloud Functions API v2beta",
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: 20230320
6
+ // Revision: 20230330
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -158,7 +158,6 @@ gapi.load('client', async () => {
158
158
  }
159
159
  ],
160
160
  updateTime: "Test string",
161
- url: "Test string",
162
161
  });
163
162
  /** Deletes a function with the given name from the specified project. If the given function is used by some trigger, the trigger will be updated to remove this function. */
164
163
  await gapi.client.cloudfunctions.projects.locations.functions.delete({
@@ -324,7 +323,6 @@ gapi.load('client', async () => {
324
323
  }
325
324
  ],
326
325
  updateTime: "Test string",
327
- url: "Test string",
328
326
  });
329
327
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
330
328
  await gapi.client.cloudfunctions.projects.locations.functions.setIamPolicy({