@maxim_mazurok/gapi.client.cloudfunctions-v2beta 0.0.20250102 → 0.0.20250116
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 +61 -2
- 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: 20250116
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -54,7 +54,7 @@ declare namespace gapi.client {
|
|
|
54
54
|
automaticUpdatePolicy?: any;
|
|
55
55
|
/** Output only. The Cloud Build name of the latest successful deployment of the function. */
|
|
56
56
|
build?: string;
|
|
57
|
-
/** Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`. */
|
|
57
|
+
/** Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. Deprecated: Container Registry option will no longer be available after March 2025: https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr Please use Artifact Registry instead, which is the default choice. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`. */
|
|
58
58
|
dockerRegistry?: string;
|
|
59
59
|
/** Repository in Artifact Registry to which the function docker image will be pushed after it is built by Cloud Build. If specified by user, it is created and managed by user with a customer managed encryption key. Otherwise, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Repository format must be 'DOCKER'. */
|
|
60
60
|
dockerRepository?: string;
|
|
@@ -85,6 +85,7 @@ declare namespace gapi.client {
|
|
|
85
85
|
/** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
|
|
86
86
|
year?: number;
|
|
87
87
|
}
|
|
88
|
+
interface DetachFunctionRequest {}
|
|
88
89
|
interface EventFilter {
|
|
89
90
|
/** Required. The name of a CloudEvents attribute. */
|
|
90
91
|
attribute?: string;
|
|
@@ -670,6 +671,64 @@ declare namespace gapi.client {
|
|
|
670
671
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
671
672
|
uploadType?: string;
|
|
672
673
|
}): Request<Operation>;
|
|
674
|
+
/** Detaches 2nd Gen function to Cloud Run function. */
|
|
675
|
+
detachFunction(request: {
|
|
676
|
+
/** V1 error format. */
|
|
677
|
+
'$.xgafv'?: string;
|
|
678
|
+
/** OAuth access token. */
|
|
679
|
+
access_token?: string;
|
|
680
|
+
/** Data format for response. */
|
|
681
|
+
alt?: string;
|
|
682
|
+
/** JSONP */
|
|
683
|
+
callback?: string;
|
|
684
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
685
|
+
fields?: string;
|
|
686
|
+
/** 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. */
|
|
687
|
+
key?: string;
|
|
688
|
+
/** Required. The name of the function for which should be detached. */
|
|
689
|
+
name: string;
|
|
690
|
+
/** OAuth 2.0 token for the current user. */
|
|
691
|
+
oauth_token?: string;
|
|
692
|
+
/** Returns response with indentations and line breaks. */
|
|
693
|
+
prettyPrint?: boolean;
|
|
694
|
+
/** 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. */
|
|
695
|
+
quotaUser?: string;
|
|
696
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
697
|
+
upload_protocol?: string;
|
|
698
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
699
|
+
uploadType?: string;
|
|
700
|
+
/** Request body */
|
|
701
|
+
resource: DetachFunctionRequest;
|
|
702
|
+
}): Request<Operation>;
|
|
703
|
+
detachFunction(
|
|
704
|
+
request: {
|
|
705
|
+
/** V1 error format. */
|
|
706
|
+
'$.xgafv'?: string;
|
|
707
|
+
/** OAuth access token. */
|
|
708
|
+
access_token?: string;
|
|
709
|
+
/** Data format for response. */
|
|
710
|
+
alt?: string;
|
|
711
|
+
/** JSONP */
|
|
712
|
+
callback?: string;
|
|
713
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
714
|
+
fields?: string;
|
|
715
|
+
/** 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. */
|
|
716
|
+
key?: string;
|
|
717
|
+
/** Required. The name of the function for which should be detached. */
|
|
718
|
+
name: string;
|
|
719
|
+
/** OAuth 2.0 token for the current user. */
|
|
720
|
+
oauth_token?: string;
|
|
721
|
+
/** Returns response with indentations and line breaks. */
|
|
722
|
+
prettyPrint?: boolean;
|
|
723
|
+
/** 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. */
|
|
724
|
+
quotaUser?: string;
|
|
725
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
726
|
+
upload_protocol?: string;
|
|
727
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
728
|
+
uploadType?: string;
|
|
729
|
+
},
|
|
730
|
+
body: DetachFunctionRequest
|
|
731
|
+
): Request<Operation>;
|
|
673
732
|
/** Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited period and should be used within 30 minutes of generation. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls */
|
|
674
733
|
generateDownloadUrl(request: {
|
|
675
734
|
/** V1 error format. */
|