@maxim_mazurok/gapi.client.cloudfunctions-v2 0.2.20251204 → 0.2.20260108
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 +13 -1
- 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=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260108
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -76,6 +76,10 @@ declare namespace gapi.client {
|
|
|
76
76
|
/** Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project. */
|
|
77
77
|
workerPool?: string;
|
|
78
78
|
}
|
|
79
|
+
interface BuildConfigOverrides {
|
|
80
|
+
/** Optional. Specifies the desired runtime for the new Cloud Run function. (e.g., `"nodejs20"`, `"python312"`). Constraints: 1. This field CANNOT be used to change the runtime language (e.g., from `NODEJS` to `PYTHON`). The backend will enforce this. 2. This field can ONLY be used to upgrade the runtime version (e.g., `nodejs18` to `nodejs20`). Downgrading the version is not permitted. The backend will validate the version change. If provided and valid, this overrides the runtime of the Gen1 function. */
|
|
81
|
+
runtime?: string;
|
|
82
|
+
}
|
|
79
83
|
interface CommitFunctionUpgradeAsGen2Request {}
|
|
80
84
|
interface CommitFunctionUpgradeRequest {}
|
|
81
85
|
interface Date {
|
|
@@ -410,6 +414,10 @@ declare namespace gapi.client {
|
|
|
410
414
|
/** The egress settings for the connector, controlling what traffic is diverted through it. */
|
|
411
415
|
vpcConnectorEgressSettings?: string;
|
|
412
416
|
}
|
|
417
|
+
interface ServiceConfigOverrides {
|
|
418
|
+
/** Optional. Specifies the maximum number of instances for the new Cloud Run function. If provided, this overrides the max_instance_count setting of the Gen1 function. */
|
|
419
|
+
maxInstanceCount?: number;
|
|
420
|
+
}
|
|
413
421
|
interface SetIamPolicyRequest {
|
|
414
422
|
/** REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. */
|
|
415
423
|
policy?: Policy;
|
|
@@ -417,6 +425,10 @@ declare namespace gapi.client {
|
|
|
417
425
|
updateMask?: string;
|
|
418
426
|
}
|
|
419
427
|
interface SetupFunctionUpgradeConfigRequest {
|
|
428
|
+
/** Optional. Specifies overrides for the build process. */
|
|
429
|
+
buildConfigOverrides?: BuildConfigOverrides;
|
|
430
|
+
/** Optional. Specifies overrides for the service configuration. */
|
|
431
|
+
serviceConfigOverrides?: ServiceConfigOverrides;
|
|
420
432
|
/** Optional. The trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number}-compute@developer.gserviceaccount.com`. */
|
|
421
433
|
triggerServiceAccount?: string;
|
|
422
434
|
}
|