@maxim_mazurok/gapi.client.cloudfunctions-v2beta 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=v2beta
|
|
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 {
|
|
@@ -422,6 +426,10 @@ declare namespace gapi.client {
|
|
|
422
426
|
/** The egress settings for the connector, controlling what traffic is diverted through it. */
|
|
423
427
|
vpcConnectorEgressSettings?: string;
|
|
424
428
|
}
|
|
429
|
+
interface ServiceConfigOverrides {
|
|
430
|
+
/** 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. */
|
|
431
|
+
maxInstanceCount?: number;
|
|
432
|
+
}
|
|
425
433
|
interface SetIamPolicyRequest {
|
|
426
434
|
/** 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. */
|
|
427
435
|
policy?: Policy;
|
|
@@ -429,6 +437,10 @@ declare namespace gapi.client {
|
|
|
429
437
|
updateMask?: string;
|
|
430
438
|
}
|
|
431
439
|
interface SetupFunctionUpgradeConfigRequest {
|
|
440
|
+
/** Optional. Specifies overrides for the build process. */
|
|
441
|
+
buildConfigOverrides?: BuildConfigOverrides;
|
|
442
|
+
/** Optional. Specifies overrides for the service configuration. */
|
|
443
|
+
serviceConfigOverrides?: ServiceConfigOverrides;
|
|
432
444
|
/** 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`. */
|
|
433
445
|
triggerServiceAccount?: string;
|
|
434
446
|
}
|