Content-Length: 536360 | pFad | https://github.com/googleapis/google-cloud-python/commit/0b8728ccd8072c0f761a119971fb0dfe20207cf5

58 feat: [google-cloud-cloudquotas] Add `rollout_info` field to `QuotaDe… · googleapis/google-cloud-python@0b8728c · GitHub
Skip to content

Commit 0b8728c

Browse files
feat: [google-cloud-cloudquotas] Add rollout_info field to QuotaDetails message (#12542)
BEGIN_COMMIT_OVERRIDE feat: Add `rollout_info` field to `QuotaDetails` message END_COMMIT_OVERRIDE - [ ] Regenerate this pull request now. PiperOrigin-RevId: 621249697 Source-Link: googleapis/googleapis@a74854d Source-Link: googleapis/googleapis-gen@c9c7eb0 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNsb3VkcXVvdGFzLy5Pd2xCb3QueWFtbCIsImgiOiJjOWM3ZWIwNjUzYjY1OTNkMWUxZDI0NTUxZjMxMjM3NTEzZmUwYTQ4In0= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent bbcfcf3 commit 0b8728c

File tree

7 files changed

+35
-3
lines changed

7 files changed

+35
-3
lines changed

packages/google-cloud-cloudquotas/google/cloud/cloudquotas/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
QuotaInfo,
4141
QuotaPreference,
4242
QuotaSafetyCheck,
43+
RolloutInfo,
4344
)
4445

4546
__all__ = (
@@ -59,5 +60,6 @@
5960
"QuotaIncreaseEligibility",
6061
"QuotaInfo",
6162
"QuotaPreference",
63+
"RolloutInfo",
6264
"QuotaSafetyCheck",
6365
)

packages/google-cloud-cloudquotas/google/cloud/cloudquotas/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.6" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-cloudquotas/google/cloud/cloudquotas_v1/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
QuotaInfo,
3838
QuotaPreference,
3939
QuotaSafetyCheck,
40+
RolloutInfo,
4041
)
4142

4243
__all__ = (
@@ -56,5 +57,6 @@
5657
"QuotaInfo",
5758
"QuotaPreference",
5859
"QuotaSafetyCheck",
60+
"RolloutInfo",
5961
"UpdateQuotaPreferenceRequest",
6062
)

packages/google-cloud-cloudquotas/google/cloud/cloudquotas_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.6" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-cloudquotas/google/cloud/cloudquotas_v1/types/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
QuotaInfo,
3232
QuotaPreference,
3333
QuotaSafetyCheck,
34+
RolloutInfo,
3435
)
3536

3637
__all__ = (
@@ -48,5 +49,6 @@
4849
"QuotaIncreaseEligibility",
4950
"QuotaInfo",
5051
"QuotaPreference",
52+
"RolloutInfo",
5153
"QuotaSafetyCheck",
5254
)

packages/google-cloud-cloudquotas/google/cloud/cloudquotas_v1/types/resources.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"QuotaConfig",
3232
"DimensionsInfo",
3333
"QuotaDetails",
34+
"RolloutInfo",
3435
},
3536
)
3637

@@ -492,12 +493,37 @@ class QuotaDetails(proto.Message):
492493
value (int):
493494
The value currently in effect and being
494495
enforced.
496+
rollout_info (google.cloud.cloudquotas_v1.types.RolloutInfo):
497+
Rollout information of this quota.
498+
This field is present only if the effective
499+
limit will change due to the ongoing rollout of
500+
the service config.
495501
"""
496502

497503
value: int = proto.Field(
498504
proto.INT64,
499505
number=1,
500506
)
507+
rollout_info: "RolloutInfo" = proto.Field(
508+
proto.MESSAGE,
509+
number=3,
510+
message="RolloutInfo",
511+
)
512+
513+
514+
class RolloutInfo(proto.Message):
515+
r"""[Output only] Rollout information of a quota.
516+
517+
Attributes:
518+
ongoing_rollout (bool):
519+
Whether there is an ongoing rollout for a
520+
quota or not.
521+
"""
522+
523+
ongoing_rollout: bool = proto.Field(
524+
proto.BOOL,
525+
number=1,
526+
)
501527

502528

503529
__all__ = tuple(sorted(__protobuf__.manifest))

packages/google-cloud-cloudquotas/samples/generated_samples/snippet_metadata_google.api.cloudquotas.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-quotas",
11-
"version": "0.1.6"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/googleapis/google-cloud-python/commit/0b8728ccd8072c0f761a119971fb0dfe20207cf5

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy