Skip to content

Commit 0d0bcdf

Browse files
feat(all): auto-regenerate discovery clients (#2974)
1 parent e143e5c commit 0d0bcdf

18 files changed

+538
-45
lines changed

‎binaryauthorization/v1/binaryauthorization-api.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@
747747
}
748748
}
749749
},
750-
"revision": "20241115",
750+
"revision": "20250117",
751751
"rootUrl": "https://binaryauthorization.googleapis.com/",
752752
"schemas": {
753753
"AdmissionRule": {
@@ -785,6 +785,7 @@
785785
"type": "string"
786786
},
787787
"requireAttestationsBy": {
788+
"description": "Optional. The resource names of the attestors that must attest to a container image, in the format `projects/*/attestors/*`. Each attestor must exist before a policy can reference it. To add an attestor to a policy the principal issuing the policy change request must be able to read the attestor resource. Note: this field must be non-empty when the `evaluation_mode` field specifies `REQUIRE_ATTESTATION`, otherwise it must be empty.",
788789
"items": {
789790
"type": "string"
790791
},
@@ -1503,7 +1504,7 @@
15031504
"additionalProperties": {
15041505
"$ref": "AdmissionRule"
15051506
},
1506-
"description": "Optional. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can be at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.",
1507+
"description": "Optional. A valid policy has only one of the following rule maps non-empty, i.e. only one of `cluster_admission_rules`, `kubernetes_namespace_admission_rules`, `kubernetes_service_account_admission_rules`, or `istio_service_identity_admission_rules` can be non-empty. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can be at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.",
15071508
"type": "object"
15081509
},
15091510
"defaultAdmissionRule": {

‎binaryauthorization/v1/binaryauthorization-gen.go

Lines changed: 17 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎cloudfunctions/v2/cloudfunctions-api.json

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,34 @@
268268
"https://www.googleapis.com/auth/cloud-platform"
269269
]
270270
},
271+
"detachFunction": {
272+
"description": "Detaches 2nd Gen function to Cloud Run function.",
273+
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:detachFunction",
274+
"httpMethod": "POST",
275+
"id": "cloudfunctions.projects.locations.functions.detachFunction",
276+
"parameterOrder": [
277+
"name"
278+
],
279+
"parameters": {
280+
"name": {
281+
"description": "Required. The name of the function for which should be detached.",
282+
"location": "path",
283+
"pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$",
284+
"required": true,
285+
"type": "string"
286+
}
287+
},
288+
"path": "v2/{+name}:detachFunction",
289+
"request": {
290+
"$ref": "DetachFunctionRequest"
291+
},
292+
"response": {
293+
"$ref": "Operation"
294+
},
295+
"scopes": [
296+
"https://www.googleapis.com/auth/cloud-platform"
297+
]
298+
},
271299
"generateDownloadUrl": {
272300
"description": "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",
273301
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:generateDownloadUrl",
@@ -716,7 +744,7 @@
716744
}
717745
}
718746
},
719-
"revision": "20241205",
747+
"revision": "20250116",
720748
"rootUrl": "https://cloudfunctions.googleapis.com/",
721749
"schemas": {
722750
"AbortFunctionUpgradeRequest": {
@@ -814,7 +842,8 @@
814842
"type": "string"
815843
},
816844
"dockerRegistry": {
817-
"description": "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`.",
845+
"deprecated": true,
846+
"description": "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`.",
818847
"enum": [
819848
"DOCKER_REGISTRY_UNSPECIFIED",
820849
"CONTAINER_REGISTRY",
@@ -901,6 +930,12 @@
901930
},
902931
"type": "object"
903932
},
933+
"DetachFunctionRequest": {
934+
"description": "Request for the `DetachFunction` method.",
935+
"id": "DetachFunctionRequest",
936+
"properties": {},
937+
"type": "object"
938+
},
904939
"EventFilter": {
905940
"description": "Filters events based on exact matches on the CloudEvents attributes.",
906941
"id": "EventFilter",

‎cloudfunctions/v2/cloudfunctions-gen.go

Lines changed: 114 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎cloudfunctions/v2alpha/cloudfunctions-api.json

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,34 @@
268268
"https://www.googleapis.com/auth/cloud-platform"
269269
]
270270
},
271+
"detachFunction": {
272+
"description": "Detaches 2nd Gen function to Cloud Run function.",
273+
"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:detachFunction",
274+
"httpMethod": "POST",
275+
"id": "cloudfunctions.projects.locations.functions.detachFunction",
276+
"parameterOrder": [
277+
"name"
278+
],
279+
"parameters": {
280+
"name": {
281+
"description": "Required. The name of the function for which should be detached.",
282+
"location": "path",
283+
"pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$",
284+
"required": true,
285+
"type": "string"
286+
}
287+
},
288+
"path": "v2alpha/{+name}:detachFunction",
289+
"request": {
290+
"$ref": "DetachFunctionRequest"
291+
},
292+
"response": {
293+
"$ref": "Operation"
294+
},
295+
"scopes": [
296+
"https://www.googleapis.com/auth/cloud-platform"
297+
]
298+
},
271299
"generateDownloadUrl": {
272300
"description": "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",
273301
"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:generateDownloadUrl",
@@ -716,7 +744,7 @@
716744
}
717745
}
718746
},
719-
"revision": "20241205",
747+
"revision": "20250116",
720748
"rootUrl": "https://cloudfunctions.googleapis.com/",
721749
"schemas": {
722750
"AbortFunctionUpgradeRequest": {
@@ -814,7 +842,8 @@
814842
"type": "string"
815843
},
816844
"dockerRegistry": {
817-
"description": "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`.",
845+
"deprecated": true,
846+
"description": "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`.",
818847
"enum": [
819848
"DOCKER_REGISTRY_UNSPECIFIED",
820849
"CONTAINER_REGISTRY",
@@ -901,6 +930,12 @@
901930
},
902931
"type": "object"
903932
},
933+
"DetachFunctionRequest": {
934+
"description": "Request for the `DetachFunction` method.",
935+
"id": "DetachFunctionRequest",
936+
"properties": {},
937+
"type": "object"
938+
},
904939
"EventFilter": {
905940
"description": "Filters events based on exact matches on the CloudEvents attributes.",
906941
"id": "EventFilter",

0 commit comments

Comments
 (0)