@maxim_mazurok/gapi.client.cloudfunctions-v2beta 0.1.20250918 → 0.2.20250929
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 +36 -40
- package/package.json +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://cloudfunctions.googleapis.com/$discovery/rest?version=v2beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250929
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -231,8 +231,7 @@ declare namespace gapi.client {
|
|
|
231
231
|
}
|
|
232
232
|
interface ListFunctionsResponse {
|
|
233
233
|
/** The functions that match the request. */
|
|
234
|
-
functions?:
|
|
235
|
-
Function[];
|
|
234
|
+
functions?: Function[];
|
|
236
235
|
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
237
236
|
nextPageToken?: string;
|
|
238
237
|
/** Locations that could not be reached. The response does not include any functions from these locations. */
|
|
@@ -249,6 +248,8 @@ declare namespace gapi.client {
|
|
|
249
248
|
nextPageToken?: string;
|
|
250
249
|
/** A list of operations that matches the specified filter in the request. */
|
|
251
250
|
operations?: Operation[];
|
|
251
|
+
/** Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations. */
|
|
252
|
+
unreachable?: string[];
|
|
252
253
|
}
|
|
253
254
|
interface ListRuntimesResponse {
|
|
254
255
|
/** The runtimes that match the request. */
|
|
@@ -616,8 +617,7 @@ declare namespace gapi.client {
|
|
|
616
617
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
617
618
|
uploadType?: string;
|
|
618
619
|
/** Request body */
|
|
619
|
-
resource:
|
|
620
|
-
Function;
|
|
620
|
+
resource: Function;
|
|
621
621
|
}): Request<Operation>;
|
|
622
622
|
create(
|
|
623
623
|
request: {
|
|
@@ -648,7 +648,6 @@ declare namespace gapi.client {
|
|
|
648
648
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
649
649
|
uploadType?: string;
|
|
650
650
|
},
|
|
651
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
652
651
|
body: Function,
|
|
653
652
|
): Request<Operation>;
|
|
654
653
|
/** 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. */
|
|
@@ -853,37 +852,34 @@ declare namespace gapi.client {
|
|
|
853
852
|
body: GenerateUploadUrlRequest,
|
|
854
853
|
): Request<GenerateUploadUrlResponse>;
|
|
855
854
|
/** Returns a function with the given name from the requested project. */
|
|
856
|
-
get(
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
},
|
|
885
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
886
|
-
): Request<Function>;
|
|
855
|
+
get(request?: {
|
|
856
|
+
/** V1 error format. */
|
|
857
|
+
'$.xgafv'?: string;
|
|
858
|
+
/** OAuth access token. */
|
|
859
|
+
access_token?: string;
|
|
860
|
+
/** Data format for response. */
|
|
861
|
+
alt?: string;
|
|
862
|
+
/** JSONP */
|
|
863
|
+
callback?: string;
|
|
864
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
865
|
+
fields?: string;
|
|
866
|
+
/** 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. */
|
|
867
|
+
key?: string;
|
|
868
|
+
/** Required. The name of the function which details should be obtained. */
|
|
869
|
+
name: string;
|
|
870
|
+
/** OAuth 2.0 token for the current user. */
|
|
871
|
+
oauth_token?: string;
|
|
872
|
+
/** Returns response with indentations and line breaks. */
|
|
873
|
+
prettyPrint?: boolean;
|
|
874
|
+
/** 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. */
|
|
875
|
+
quotaUser?: string;
|
|
876
|
+
/** Optional. The optional version of the 1st gen function whose details should be obtained. The version of a 1st gen function is an integer that starts from 1 and gets incremented on redeployments. GCF may keep historical configs for old versions of 1st gen function. This field can be specified to fetch the historical configs. This field is valid only for GCF 1st gen function. */
|
|
877
|
+
revision?: string;
|
|
878
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
879
|
+
upload_protocol?: string;
|
|
880
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
881
|
+
uploadType?: string;
|
|
882
|
+
}): Request<Function>;
|
|
887
883
|
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
888
884
|
getIamPolicy(request?: {
|
|
889
885
|
/** V1 error format. */
|
|
@@ -977,8 +973,7 @@ declare namespace gapi.client {
|
|
|
977
973
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
978
974
|
uploadType?: string;
|
|
979
975
|
/** Request body */
|
|
980
|
-
resource:
|
|
981
|
-
Function;
|
|
976
|
+
resource: Function;
|
|
982
977
|
}): Request<Operation>;
|
|
983
978
|
patch(
|
|
984
979
|
request: {
|
|
@@ -1009,7 +1004,6 @@ declare namespace gapi.client {
|
|
|
1009
1004
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1010
1005
|
uploadType?: string;
|
|
1011
1006
|
},
|
|
1012
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
1013
1007
|
body: Function,
|
|
1014
1008
|
): Request<Operation>;
|
|
1015
1009
|
/** Changes the traffic target of a function from the original 1st Gen function to the 2nd Gen copy. This is the second step of the multi step process to upgrade 1st Gen functions to 2nd Gen. After this operation, all new traffic will be served by 2nd Gen copy. */
|
|
@@ -1303,6 +1297,8 @@ declare namespace gapi.client {
|
|
|
1303
1297
|
prettyPrint?: boolean;
|
|
1304
1298
|
/** 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. */
|
|
1305
1299
|
quotaUser?: string;
|
|
1300
|
+
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
|
|
1301
|
+
returnPartialSuccess?: boolean;
|
|
1306
1302
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1307
1303
|
upload_protocol?: string;
|
|
1308
1304
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|