Skip to content

Commit b9c0c7c

Browse files
yoshi-automationsofisl
authored andcommitted
feat(serviceusage): update the API
#### serviceusage:v1beta1 The following keys were added: - schemas.QuotaBucket.properties.rolloutInfo.$ref - schemas.QuotaBucket.properties.rolloutInfo.description - schemas.RolloutInfo.description - schemas.RolloutInfo.id - schemas.RolloutInfo.properties.defaultLimitOngoingRollout.description - schemas.RolloutInfo.properties.defaultLimitOngoingRollout.type - schemas.RolloutInfo.type
1 parent a9269af commit b9c0c7c

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

discovery/serviceusage-v1beta1.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@
964964
}
965965
}
966966
},
967-
"revision": "20240220",
967+
"revision": "20240310",
968968
"rootUrl": "https://serviceusage.googleapis.com/",
969969
"schemas": {
970970
"AddEnableRulesMetadata": {
@@ -3662,6 +3662,10 @@
36623662
"producerQuotaPolicy": {
36633663
"$ref": "ProducerQuotaPolicy",
36643664
"description": "Producer policy inherited from the closet ancestor of the current consumer."
3665+
},
3666+
"rolloutInfo": {
3667+
"$ref": "RolloutInfo",
3668+
"description": "Rollout information of this quota bucket. This field is present only if the effective limit will change due to the ongoing rollout of the service config."
36653669
}
36663670
},
36673671
"type": "object"
@@ -3780,6 +3784,17 @@
37803784
},
37813785
"type": "object"
37823786
},
3787+
"RolloutInfo": {
3788+
"description": "[Output only] Rollout information of a quota.",
3789+
"id": "RolloutInfo",
3790+
"properties": {
3791+
"defaultLimitOngoingRollout": {
3792+
"description": "Whether there is an ongoing rollout for the default limit or not.",
3793+
"type": "boolean"
3794+
}
3795+
},
3796+
"type": "object"
3797+
},
37833798
"RubySettings": {
37843799
"description": "Settings for Ruby client libraries.",
37853800
"id": "RubySettings",

src/apis/serviceusage/v1beta1.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1969,6 +1969,10 @@ export namespace serviceusage_v1beta1 {
19691969
* Producer policy inherited from the closet ancestor of the current consumer.
19701970
*/
19711971
producerQuotaPolicy?: Schema$ProducerQuotaPolicy;
1972+
/**
1973+
* Rollout information of this quota bucket. This field is present only if the effective limit will change due to the ongoing rollout of the service config.
1974+
*/
1975+
rolloutInfo?: Schema$RolloutInfo;
19721976
}
19731977
/**
19741978
* `QuotaLimit` defines a specific limit that applies over a specified duration for a limit type. There can be at most one limit for a duration and limit type combination defined within a `QuotaGroup`.
@@ -2061,6 +2065,15 @@ export namespace serviceusage_v1beta1 {
20612065
*/
20622066
removedValues?: string[] | null;
20632067
}
2068+
/**
2069+
* [Output only] Rollout information of a quota.
2070+
*/
2071+
export interface Schema$RolloutInfo {
2072+
/**
2073+
* Whether there is an ongoing rollout for the default limit or not.
2074+
*/
2075+
defaultLimitOngoingRollout?: boolean | null;
2076+
}
20642077
/**
20652078
* Settings for Ruby client libraries.
20662079
*/

0 commit comments

Comments
 (0)