Skip to content

Commit 6279cf1

Browse files
yoshi-automationleahecole
authored andcommitted
feat(versionhistory): update the API
#### versionhistory:v1 The following keys were added: - schemas.Release.properties.rolloutData.description - schemas.Release.properties.rolloutData.items.$ref - schemas.Release.properties.rolloutData.type - schemas.RolloutData.description - schemas.RolloutData.id - schemas.RolloutData.properties.rolloutName.description - schemas.RolloutData.properties.rolloutName.type - schemas.RolloutData.properties.tag.description - schemas.RolloutData.properties.tag.items.type - schemas.RolloutData.properties.tag.type - schemas.RolloutData.type
1 parent 3fd1c3b commit 6279cf1

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed

discovery/versionhistory-v1.json

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@
271271
}
272272
}
273273
},
274-
"revision": "20250601",
274+
"revision": "20250810",
275275
"rootUrl": "https://versionhistory.googleapis.com/",
276276
"schemas": {
277277
"Channel": {
@@ -475,6 +475,13 @@
475475
"description": "Whether or not the release was available for version pinning.",
476476
"type": "boolean"
477477
},
478+
"rolloutData": {
479+
"description": "Rollout-related metadata. Some releases are part of one or more A/B rollouts. This field contains the names and data describing this release's role in any rollouts.",
480+
"items": {
481+
"$ref": "RolloutData"
482+
},
483+
"type": "array"
484+
},
478485
"serving": {
479486
"$ref": "Interval",
480487
"description": "Timestamp interval of when the release was live. If end_time is unspecified, the release is currently live."
@@ -486,6 +493,24 @@
486493
},
487494
"type": "object"
488495
},
496+
"RolloutData": {
497+
"description": "Rollout-related metadata for a release.",
498+
"id": "RolloutData",
499+
"properties": {
500+
"rolloutName": {
501+
"description": "The name of the rollout.",
502+
"type": "string"
503+
},
504+
"tag": {
505+
"description": "Tags associated with a release's role in a rollout. Most rollouts will have at least one release with a \"rollout\" tag and another release with a \"control\" tag. Some rollouts may have additional named arms.",
506+
"items": {
507+
"type": "string"
508+
},
509+
"type": "array"
510+
}
511+
},
512+
"type": "object"
513+
},
489514
"Version": {
490515
"description": "Each Version is owned by a Channel. A Version only displays the Version number (e.g. 84.0.4147.38). A Version owns a collection of releases.",
491516
"id": "Version",

src/apis/versionhistory/v1.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,10 @@ export namespace versionhistory_v1 {
235235
* Whether or not the release was available for version pinning.
236236
*/
237237
pinnable?: boolean | null;
238+
/**
239+
* Rollout-related metadata. Some releases are part of one or more A/B rollouts. This field contains the names and data describing this release's role in any rollouts.
240+
*/
241+
rolloutData?: Schema$RolloutData[];
238242
/**
239243
* Timestamp interval of when the release was live. If end_time is unspecified, the release is currently live.
240244
*/
@@ -244,6 +248,19 @@ export namespace versionhistory_v1 {
244248
*/
245249
version?: string | null;
246250
}
251+
/**
252+
* Rollout-related metadata for a release.
253+
*/
254+
export interface Schema$RolloutData {
255+
/**
256+
* The name of the rollout.
257+
*/
258+
rolloutName?: string | null;
259+
/**
260+
* Tags associated with a release's role in a rollout. Most rollouts will have at least one release with a "rollout" tag and another release with a "control" tag. Some rollouts may have additional named arms.
261+
*/
262+
tag?: string[] | null;
263+
}
247264
/**
248265
* Each Version is owned by a Channel. A Version only displays the Version number (e.g. 84.0.4147.38). A Version owns a collection of releases.
249266
*/

0 commit comments

Comments
 (0)