Skip to content

Commit 34314fb

Browse files
feat(cloudfunctions): update the api
#### cloudfunctions:v2 The following keys were added: - schemas.ServiceConfig.properties.binaryAuthorizationPolicy.type (Total Keys: 1) #### cloudfunctions:v2alpha The following keys were added: - schemas.ServiceConfig.properties.binaryAuthorizationPolicy.type (Total Keys: 1) #### cloudfunctions:v2beta The following keys were added: - schemas.ServiceConfig.properties.binaryAuthorizationPolicy.type (Total Keys: 1)
1 parent 2b5c66b commit 34314fb

8 files changed

+108
-9
lines changed

docs/dyn/cloudfunctions_v1.projects.locations.functions.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ <h3>Method Details</h3>
197197
&quot;name&quot;: &quot;A String&quot;, # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
198198
&quot;network&quot;: &quot;A String&quot;, # Deprecated: use vpc_connector
199199
&quot;onDeployUpdatePolicy&quot;: { # Security patches are only applied when a function is redeployed.
200-
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Output only. contains the runtime version which was used during latest function deployment.
200+
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Output only. Contains the runtime version which was used during latest function deployment.
201201
},
202202
&quot;runtime&quot;: &quot;A String&quot;, # The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
203203
&quot;secretEnvironmentVariables&quot;: [ # Secret environment variables configuration.
@@ -409,7 +409,7 @@ <h3>Method Details</h3>
409409
&quot;name&quot;: &quot;A String&quot;, # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
410410
&quot;network&quot;: &quot;A String&quot;, # Deprecated: use vpc_connector
411411
&quot;onDeployUpdatePolicy&quot;: { # Security patches are only applied when a function is redeployed.
412-
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Output only. contains the runtime version which was used during latest function deployment.
412+
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Output only. Contains the runtime version which was used during latest function deployment.
413413
},
414414
&quot;runtime&quot;: &quot;A String&quot;, # The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
415415
&quot;secretEnvironmentVariables&quot;: [ # Secret environment variables configuration.
@@ -557,7 +557,7 @@ <h3>Method Details</h3>
557557
&quot;name&quot;: &quot;A String&quot;, # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
558558
&quot;network&quot;: &quot;A String&quot;, # Deprecated: use vpc_connector
559559
&quot;onDeployUpdatePolicy&quot;: { # Security patches are only applied when a function is redeployed.
560-
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Output only. contains the runtime version which was used during latest function deployment.
560+
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Output only. Contains the runtime version which was used during latest function deployment.
561561
},
562562
&quot;runtime&quot;: &quot;A String&quot;, # The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
563563
&quot;secretEnvironmentVariables&quot;: [ # Secret environment variables configuration.
@@ -668,7 +668,7 @@ <h3>Method Details</h3>
668668
&quot;name&quot;: &quot;A String&quot;, # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
669669
&quot;network&quot;: &quot;A String&quot;, # Deprecated: use vpc_connector
670670
&quot;onDeployUpdatePolicy&quot;: { # Security patches are only applied when a function is redeployed.
671-
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Output only. contains the runtime version which was used during latest function deployment.
671+
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Output only. Contains the runtime version which was used during latest function deployment.
672672
},
673673
&quot;runtime&quot;: &quot;A String&quot;, # The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
674674
&quot;secretEnvironmentVariables&quot;: [ # Secret environment variables configuration.

docs/dyn/cloudfunctions_v2.projects.locations.functions.html

Lines changed: 25 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/cloudfunctions_v2alpha.projects.locations.functions.html

Lines changed: 25 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/cloudfunctions_v2beta.projects.locations.functions.html

Lines changed: 25 additions & 0 deletions
Large diffs are not rendered by default.

googleapiclient/discovery_cache/documents/cloudfunctions.v1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@
552552
}
553553
}
554554
},
555-
"revision": "20240502",
555+
"revision": "20240523",
556556
"rootUrl": "https://cloudfunctions.googleapis.com/",
557557
"schemas": {
558558
"AuditConfig": {
@@ -1716,7 +1716,7 @@
17161716
"id": "OnDeployUpdatePolicy",
17171717
"properties": {
17181718
"runtimeVersion": {
1719-
"description": "Output only. contains the runtime version which was used during latest function deployment.",
1719+
"description": "Output only. Contains the runtime version which was used during latest function deployment.",
17201720
"readOnly": true,
17211721
"type": "string"
17221722
}

googleapiclient/discovery_cache/documents/cloudfunctions.v2.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@
716716
}
717717
}
718718
},
719-
"revision": "20240502",
719+
"revision": "20240523",
720720
"rootUrl": "https://cloudfunctions.googleapis.com/",
721721
"schemas": {
722722
"AbortFunctionUpgradeRequest": {
@@ -2201,6 +2201,10 @@
22012201
"description": "The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.",
22022202
"type": "string"
22032203
},
2204+
"binaryAuthorizationPolicy": {
2205+
"description": "Optional. The binary authorization policy to be checked when deploying the Cloud Run service.",
2206+
"type": "string"
2207+
},
22042208
"environmentVariables": {
22052209
"additionalProperties": {
22062210
"type": "string"
@@ -2415,6 +2419,10 @@
24152419
"object": {
24162420
"description": "Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.",
24172421
"type": "string"
2422+
},
2423+
"sourceUploadUrl": {
2424+
"description": "When the specified storage bucket is a 1st gen function uploard url bucket, this field should be set as the generated upload url for 1st gen deployment.",
2425+
"type": "string"
24182426
}
24192427
},
24202428
"type": "object"

googleapiclient/discovery_cache/documents/cloudfunctions.v2alpha.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@
716716
}
717717
}
718718
},
719-
"revision": "20240502",
719+
"revision": "20240523",
720720
"rootUrl": "https://cloudfunctions.googleapis.com/",
721721
"schemas": {
722722
"AbortFunctionUpgradeRequest": {
@@ -2201,6 +2201,10 @@
22012201
"description": "The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.",
22022202
"type": "string"
22032203
},
2204+
"binaryAuthorizationPolicy": {
2205+
"description": "Optional. The binary authorization policy to be checked when deploying the Cloud Run service.",
2206+
"type": "string"
2207+
},
22042208
"environmentVariables": {
22052209
"additionalProperties": {
22062210
"type": "string"
@@ -2415,6 +2419,10 @@
24152419
"object": {
24162420
"description": "Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.",
24172421
"type": "string"
2422+
},
2423+
"sourceUploadUrl": {
2424+
"description": "When the specified storage bucket is a 1st gen function uploard url bucket, this field should be set as the generated upload url for 1st gen deployment.",
2425+
"type": "string"
24182426
}
24192427
},
24202428
"type": "object"

googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@
716716
}
717717
}
718718
},
719-
"revision": "20240502",
719+
"revision": "20240523",
720720
"rootUrl": "https://cloudfunctions.googleapis.com/",
721721
"schemas": {
722722
"AbortFunctionUpgradeRequest": {
@@ -2201,6 +2201,10 @@
22012201
"description": "The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.",
22022202
"type": "string"
22032203
},
2204+
"binaryAuthorizationPolicy": {
2205+
"description": "Optional. The binary authorization policy to be checked when deploying the Cloud Run service.",
2206+
"type": "string"
2207+
},
22042208
"environmentVariables": {
22052209
"additionalProperties": {
22062210
"type": "string"
@@ -2415,6 +2419,10 @@
24152419
"object": {
24162420
"description": "Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.",
24172421
"type": "string"
2422+
},
2423+
"sourceUploadUrl": {
2424+
"description": "When the specified storage bucket is a 1st gen function uploard url bucket, this field should be set as the generated upload url for 1st gen deployment.",
2425+
"type": "string"
24182426
}
24192427
},
24202428
"type": "object"

0 commit comments

Comments
 (0)