Skip to content

Commit 44780b5

Browse files
yoshi-automationfeywind
authored andcommitted
feat(run): update the API
#### run:v1 The following keys were changed: - schemas.Service.properties.metadata.description #### run:v2 The following keys were added: - schemas.GoogleCloudRunV2Execution.properties.client.description - schemas.GoogleCloudRunV2Execution.properties.client.readOnly - schemas.GoogleCloudRunV2Execution.properties.client.type - schemas.GoogleCloudRunV2Execution.properties.clientVersion.description - schemas.GoogleCloudRunV2Execution.properties.clientVersion.readOnly - schemas.GoogleCloudRunV2Execution.properties.clientVersion.type - schemas.GoogleCloudRunV2ExecutionTemplate.properties.client.description - schemas.GoogleCloudRunV2ExecutionTemplate.properties.client.type - schemas.GoogleCloudRunV2ExecutionTemplate.properties.clientVersion.description - schemas.GoogleCloudRunV2ExecutionTemplate.properties.clientVersion.type - schemas.GoogleCloudRunV2Revision.properties.client.description - schemas.GoogleCloudRunV2Revision.properties.client.readOnly - schemas.GoogleCloudRunV2Revision.properties.client.type - schemas.GoogleCloudRunV2Revision.properties.clientVersion.description - schemas.GoogleCloudRunV2Revision.properties.clientVersion.readOnly - schemas.GoogleCloudRunV2Revision.properties.clientVersion.type - schemas.GoogleCloudRunV2RevisionTemplate.properties.client.description - schemas.GoogleCloudRunV2RevisionTemplate.properties.client.type - schemas.GoogleCloudRunV2RevisionTemplate.properties.clientVersion.description - schemas.GoogleCloudRunV2RevisionTemplate.properties.clientVersion.type - schemas.GoogleCloudRunV2WorkerPoolRevisionTemplate.properties.client.description - schemas.GoogleCloudRunV2WorkerPoolRevisionTemplate.properties.client.type - schemas.GoogleCloudRunV2WorkerPoolRevisionTemplate.properties.clientVersion.description - schemas.GoogleCloudRunV2WorkerPoolRevisionTemplate.properties.clientVersion.type The following keys were changed: - schemas.GoogleCloudRunV2Execution.properties.launchStage.description - schemas.GoogleCloudRunV2Revision.properties.launchStage.description
1 parent 9d4db0f commit 44780b5

File tree

4 files changed

+98
-8
lines changed

4 files changed

+98
-8
lines changed

discovery/run-v1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3447,7 +3447,7 @@
34473447
}
34483448
}
34493449
},
3450-
"revision": "20260117",
3450+
"revision": "20260123",
34513451
"rootUrl": "https://run.googleapis.com/",
34523452
"schemas": {
34533453
"Addressable": {
@@ -7144,7 +7144,7 @@
71447144
},
71457145
"metadata": {
71467146
"$ref": "ObjectMeta",
7147-
"description": "Metadata associated with this Service, including name, namespace, labels, and annotations. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. The following Cloud Run-specific annotations are accepted in Service.metadata.annotations. * `run.googleapis.com/binary-authorization-breakglass` * `run.googleapis.com/binary-authorization` * `run.googleapis.com/client-name` * `run.googleapis.com/custom-audiences` * `run.googleapis.com/default-url-disabled` * `run.googleapis.com/description` * `run.googleapis.com/gc-traffic-tags` * `run.googleapis.com/ingress` * `run.googleapis.com/ingress` sets the ingress settings for the Service. See [the ingress settings documentation](/run/docs/securing/ingress) for details on configuring ingress settings. * `run.googleapis.com/ingress-status` is output-only and contains the currently active ingress settings for the Service. `run.googleapis.com/ingress-status` may differ from `run.googleapis.com/ingress` while the system is processing a change to `run.googleapis.com/ingress` or if the system failed to process a change to `run.googleapis.com/ingress`. When the system has processed all changes successfully `run.googleapis.com/ingress-status` and `run.googleapis.com/ingress` are equal."
7147+
"description": "Metadata associated with this Service, including name, namespace, labels, and annotations. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. The following Cloud Run-specific annotations are accepted in Service.metadata.annotations. * `run.googleapis.com/base-images` * `run.googleapis.com/binary-authorization-breakglass` * `run.googleapis.com/binary-authorization` * `run.googleapis.com/client-name` * `run.googleapis.com/custom-audiences` * `run.googleapis.com/default-url-disabled` * `run.googleapis.com/description` * `run.googleapis.com/gc-traffic-tags` * `run.googleapis.com/ingress` * `run.googleapis.com/ingress` sets the ingress settings for the Service. See [the ingress settings documentation](/run/docs/securing/ingress) for details on configuring ingress settings. * `run.googleapis.com/ingress-status` is output-only and contains the currently active ingress settings for the Service. `run.googleapis.com/ingress-status` may differ from `run.googleapis.com/ingress` while the system is processing a change to `run.googleapis.com/ingress` or if the system failed to process a change to `run.googleapis.com/ingress`. When the system has processed all changes successfully `run.googleapis.com/ingress-status` and `run.googleapis.com/ingress` are equal."
71487148
},
71497149
"spec": {
71507150
"$ref": "ServiceSpec",

discovery/run-v2.json

Lines changed: 47 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2373,7 +2373,7 @@
23732373
}
23742374
}
23752375
},
2376-
"revision": "20260117",
2376+
"revision": "20260123",
23772377
"rootUrl": "https://run.googleapis.com/",
23782378
"schemas": {
23792379
"GoogleCloudRunV2BinaryAuthorization": {
@@ -2927,6 +2927,16 @@
29272927
"readOnly": true,
29282928
"type": "integer"
29292929
},
2930+
"client": {
2931+
"description": "Output only. Arbitrary identifier for the API client.",
2932+
"readOnly": true,
2933+
"type": "string"
2934+
},
2935+
"clientVersion": {
2936+
"description": "Output only. Arbitrary version identifier for the API client.",
2937+
"readOnly": true,
2938+
"type": "string"
2939+
},
29302940
"completionTime": {
29312941
"description": "Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.",
29322942
"format": "google-datetime",
@@ -2995,7 +3005,7 @@
29953005
"type": "object"
29963006
},
29973007
"launchStage": {
2998-
"description": "The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.",
3008+
"description": "The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are used, this field will be BETA.",
29993009
"enum": [
30003010
"LAUNCH_STAGE_UNSPECIFIED",
30013011
"UNIMPLEMENTED",
@@ -3156,6 +3166,14 @@
31563166
"description": "Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.",
31573167
"type": "object"
31583168
},
3169+
"client": {
3170+
"description": "Optional. Arbitrary identifier for the API client.",
3171+
"type": "string"
3172+
},
3173+
"clientVersion": {
3174+
"description": "Optional. Arbitrary version identifier for the API client.",
3175+
"type": "string"
3176+
},
31593177
"labels": {
31603178
"additionalProperties": {
31613179
"type": "string"
@@ -4119,6 +4137,16 @@
41194137
"readOnly": true,
41204138
"type": "object"
41214139
},
4140+
"client": {
4141+
"description": "Output only. Arbitrary identifier for the API client.",
4142+
"readOnly": true,
4143+
"type": "string"
4144+
},
4145+
"clientVersion": {
4146+
"description": "Output only. Arbitrary version identifier for the API client.",
4147+
"readOnly": true,
4148+
"type": "string"
4149+
},
41224150
"conditions": {
41234151
"description": "Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.",
41244152
"items": {
@@ -4219,7 +4247,7 @@
42194247
"type": "object"
42204248
},
42214249
"launchStage": {
4222-
"description": "The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.",
4250+
"description": "The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are used, this field will be BETA.",
42234251
"enum": [
42244252
"LAUNCH_STAGE_UNSPECIFIED",
42254253
"UNIMPLEMENTED",
@@ -4373,6 +4401,14 @@
43734401
"description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.",
43744402
"type": "object"
43754403
},
4404+
"client": {
4405+
"description": "Optional. Arbitrary identifier for the API client.",
4406+
"type": "string"
4407+
},
4408+
"clientVersion": {
4409+
"description": "Optional. Arbitrary version identifier for the API client.",
4410+
"type": "string"
4411+
},
43764412
"containers": {
43774413
"description": "Holds the single container that defines the unit of execution for this Revision.",
43784414
"items": {
@@ -5651,6 +5687,14 @@
56515687
"description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 WorkerPoolRevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.",
56525688
"type": "object"
56535689
},
5690+
"client": {
5691+
"description": "Optional. Arbitrary identifier for the API client.",
5692+
"type": "string"
5693+
},
5694+
"clientVersion": {
5695+
"description": "Optional. Arbitrary version identifier for the API client.",
5696+
"type": "string"
5697+
},
56545698
"containers": {
56555699
"description": "Holds list of the containers that defines the unit of execution for this Revision.",
56565700
"items": {

src/apis/run/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2838,7 +2838,7 @@ export namespace run_v1 {
28382838
*/
28392839
kind?: string | null;
28402840
/**
2841-
* Metadata associated with this Service, including name, namespace, labels, and annotations. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. The following Cloud Run-specific annotations are accepted in Service.metadata.annotations. * `run.googleapis.com/binary-authorization-breakglass` * `run.googleapis.com/binary-authorization` * `run.googleapis.com/client-name` * `run.googleapis.com/custom-audiences` * `run.googleapis.com/default-url-disabled` * `run.googleapis.com/description` * `run.googleapis.com/gc-traffic-tags` * `run.googleapis.com/ingress` * `run.googleapis.com/ingress` sets the ingress settings for the Service. See [the ingress settings documentation](/run/docs/securing/ingress) for details on configuring ingress settings. * `run.googleapis.com/ingress-status` is output-only and contains the currently active ingress settings for the Service. `run.googleapis.com/ingress-status` may differ from `run.googleapis.com/ingress` while the system is processing a change to `run.googleapis.com/ingress` or if the system failed to process a change to `run.googleapis.com/ingress`. When the system has processed all changes successfully `run.googleapis.com/ingress-status` and `run.googleapis.com/ingress` are equal.
2841+
* Metadata associated with this Service, including name, namespace, labels, and annotations. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. The following Cloud Run-specific annotations are accepted in Service.metadata.annotations. * `run.googleapis.com/base-images` * `run.googleapis.com/binary-authorization-breakglass` * `run.googleapis.com/binary-authorization` * `run.googleapis.com/client-name` * `run.googleapis.com/custom-audiences` * `run.googleapis.com/default-url-disabled` * `run.googleapis.com/description` * `run.googleapis.com/gc-traffic-tags` * `run.googleapis.com/ingress` * `run.googleapis.com/ingress` sets the ingress settings for the Service. See [the ingress settings documentation](/run/docs/securing/ingress) for details on configuring ingress settings. * `run.googleapis.com/ingress-status` is output-only and contains the currently active ingress settings for the Service. `run.googleapis.com/ingress-status` may differ from `run.googleapis.com/ingress` while the system is processing a change to `run.googleapis.com/ingress` or if the system failed to process a change to `run.googleapis.com/ingress`. When the system has processed all changes successfully `run.googleapis.com/ingress-status` and `run.googleapis.com/ingress` are equal.
28422842
*/
28432843
metadata?: Schema$ObjectMeta;
28442844
/**

0 commit comments

Comments
 (0)