@maxim_mazurok/gapi.client.cloudfunctions-v2beta 0.0.20231023 → 0.0.20231102
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 +3 -3
- package/package.json +1 -1
- package/tests.ts +3 -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:
|
|
12
|
+
// Revision: 20231102
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1087,8 +1087,8 @@ declare namespace gapi.client {
|
|
|
1087
1087
|
* Once the function source code upload is complete, the used signed URL should be provided in CreateFunction or UpdateFunction request as a reference to the function source code. When
|
|
1088
1088
|
* uploading source code to the generated signed URL, please follow these restrictions: * Source file type should be a zip file. * No credentials should be attached - the signed URLs
|
|
1089
1089
|
* provide access to the target bucket using internal service identity; if credentials were attached, the identity from the credentials would be used, but that identity does not have
|
|
1090
|
-
* permissions to upload files to the URL. When making a HTTP PUT request,
|
|
1091
|
-
*
|
|
1090
|
+
* permissions to upload files to the URL. When making a HTTP PUT request, specify this header: * `content-type: application/zip` Do not specify this header: * `Authorization: Bearer
|
|
1091
|
+
* YOUR_TOKEN`
|
|
1092
1092
|
*/
|
|
1093
1093
|
generateUploadUrl(request: {
|
|
1094
1094
|
/** V1 error format. */
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20231102
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -178,8 +178,8 @@ gapi.load('client', async () => {
|
|
|
178
178
|
* the function source code upload is complete, the used signed URL should be provided in CreateFunction or UpdateFunction request as a reference to the function source code. When
|
|
179
179
|
* uploading source code to the generated signed URL, please follow these restrictions: * Source file type should be a zip file. * No credentials should be attached - the signed URLs
|
|
180
180
|
* provide access to the target bucket using internal service identity; if credentials were attached, the identity from the credentials would be used, but that identity does not have
|
|
181
|
-
* permissions to upload files to the URL. When making a HTTP PUT request,
|
|
182
|
-
*
|
|
181
|
+
* permissions to upload files to the URL. When making a HTTP PUT request, specify this header: * `content-type: application/zip` Do not specify this header: * `Authorization: Bearer
|
|
182
|
+
* YOUR_TOKEN`
|
|
183
183
|
*/
|
|
184
184
|
await gapi.client.cloudfunctions.projects.locations.functions.generateUploadUrl({
|
|
185
185
|
parent: "Test string",
|