@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.
Files changed (2) hide show
  1. package/index.d.ts +31 -39
  2. 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?: // eslint-disable-next-line @typescript-eslint/ban-types
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: // eslint-disable-next-line @typescript-eslint/ban-types
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
- request?: {
858
- /** V1 error format. */
859
- '$.xgafv'?: string;
860
- /** OAuth access token. */
861
- access_token?: string;
862
- /** Data format for response. */
863
- alt?: string;
864
- /** JSONP */
865
- callback?: string;
866
- /** Selector specifying which fields to include in a partial response. */
867
- fields?: string;
868
- /** 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. */
869
- key?: string;
870
- /** Required. The name of the function which details should be obtained. */
871
- name: string;
872
- /** OAuth 2.0 token for the current user. */
873
- oauth_token?: string;
874
- /** Returns response with indentations and line breaks. */
875
- prettyPrint?: boolean;
876
- /** 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. */
877
- quotaUser?: string;
878
- /** 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. */
879
- revision?: string;
880
- /** Upload protocol for media (e.g. "raw", "multipart"). */
881
- upload_protocol?: string;
882
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
883
- uploadType?: string;
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: // eslint-disable-next-line @typescript-eslint/ban-types
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. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudfunctions-v2beta",
3
- "version": "0.1.20250918",
3
+ "version": "0.2.20250918",
4
4
  "description": "TypeScript typings for Cloud Functions API v2beta",
5
5
  "repository": {
6
6
  "type": "git",