@maxim_mazurok/gapi.client.cloudfunctions-v2beta 0.1.20250918 → 0.2.20250918
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 +31 -39
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -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. */
|
|
@@ -616,8 +615,7 @@ declare namespace gapi.client {
|
|
|
616
615
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
617
616
|
uploadType?: string;
|
|
618
617
|
/** Request body */
|
|
619
|
-
resource:
|
|
620
|
-
Function;
|
|
618
|
+
resource: Function;
|
|
621
619
|
}): Request<Operation>;
|
|
622
620
|
create(
|
|
623
621
|
request: {
|
|
@@ -648,7 +646,6 @@ declare namespace gapi.client {
|
|
|
648
646
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
649
647
|
uploadType?: string;
|
|
650
648
|
},
|
|
651
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
652
649
|
body: Function,
|
|
653
650
|
): Request<Operation>;
|
|
654
651
|
/** 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 +850,34 @@ declare namespace gapi.client {
|
|
|
853
850
|
body: GenerateUploadUrlRequest,
|
|
854
851
|
): Request<GenerateUploadUrlResponse>;
|
|
855
852
|
/** 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>;
|
|
853
|
+
get(request?: {
|
|
854
|
+
/** V1 error format. */
|
|
855
|
+
'$.xgafv'?: string;
|
|
856
|
+
/** OAuth access token. */
|
|
857
|
+
access_token?: string;
|
|
858
|
+
/** Data format for response. */
|
|
859
|
+
alt?: string;
|
|
860
|
+
/** JSONP */
|
|
861
|
+
callback?: string;
|
|
862
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
863
|
+
fields?: string;
|
|
864
|
+
/** 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. */
|
|
865
|
+
key?: string;
|
|
866
|
+
/** Required. The name of the function which details should be obtained. */
|
|
867
|
+
name: string;
|
|
868
|
+
/** OAuth 2.0 token for the current user. */
|
|
869
|
+
oauth_token?: string;
|
|
870
|
+
/** Returns response with indentations and line breaks. */
|
|
871
|
+
prettyPrint?: boolean;
|
|
872
|
+
/** 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. */
|
|
873
|
+
quotaUser?: string;
|
|
874
|
+
/** 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. */
|
|
875
|
+
revision?: string;
|
|
876
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
877
|
+
upload_protocol?: string;
|
|
878
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
879
|
+
uploadType?: string;
|
|
880
|
+
}): Request<Function>;
|
|
887
881
|
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
888
882
|
getIamPolicy(request?: {
|
|
889
883
|
/** V1 error format. */
|
|
@@ -977,8 +971,7 @@ declare namespace gapi.client {
|
|
|
977
971
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
978
972
|
uploadType?: string;
|
|
979
973
|
/** Request body */
|
|
980
|
-
resource:
|
|
981
|
-
Function;
|
|
974
|
+
resource: Function;
|
|
982
975
|
}): Request<Operation>;
|
|
983
976
|
patch(
|
|
984
977
|
request: {
|
|
@@ -1009,7 +1002,6 @@ declare namespace gapi.client {
|
|
|
1009
1002
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1010
1003
|
uploadType?: string;
|
|
1011
1004
|
},
|
|
1012
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
1013
1005
|
body: Function,
|
|
1014
1006
|
): Request<Operation>;
|
|
1015
1007
|
/** 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. */
|