Skip to content

Commit c757c44

Browse files
feat: Add v1beta client libraries for cloudquotas API (googleapis#13408)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 712974297 Source-Link: googleapis/googleapis@2884323 Source-Link: https://github.com/googleapis/googleapis-gen/commit/c2c2f42cdebaa9aa20dc68e6ddac73da572ff21c Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXF1b3Rhcy8uT3dsQm90LnlhbWwiLCJoIjoiYzJjMmY0MmNkZWJhYTlhYTIwZGM2OGU2ZGRhYzczZGE1NzJmZjIxYyJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Victor Chudnovsky <[email protected]>
1 parent ee59d69 commit c757c44

File tree

59 files changed

+24222
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+24222
-3
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CloudQuotas
2+
-----------------------------
3+
4+
.. automodule:: google.cloud.cloudquotas_v1beta.services.cloud_quotas
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.cloud.cloudquotas_v1beta.services.cloud_quotas.pagers
9+
:members:
10+
:inherited-members:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
QuotaAdjusterSettingsManager
2+
----------------------------------------------
3+
4+
.. automodule:: google.cloud.cloudquotas_v1beta.services.quota_adjuster_settings_manager
5+
:members:
6+
:inherited-members:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Services for Google Cloud Cloudquotas v1beta API
2+
================================================
3+
.. toctree::
4+
:maxdepth: 2
5+
6+
cloud_quotas
7+
quota_adjuster_settings_manager
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Types for Google Cloud Cloudquotas v1beta API
2+
=============================================
3+
4+
.. automodule:: google.cloud.cloudquotas_v1beta.types
5+
:members:
6+
:show-inheritance:

packages/google-cloud-quotas/docs/index.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
.. include:: multiprocessing.rst
44

5+
This package includes clients for multiple versions of Cloud Quotas API.
6+
By default, you will get version ``cloudquotas_v1``.
7+
58

69
API Reference
710
-------------
@@ -11,6 +14,14 @@ API Reference
1114
cloudquotas_v1/services_
1215
cloudquotas_v1/types_
1316

17+
API Reference
18+
-------------
19+
.. toctree::
20+
:maxdepth: 2
21+
22+
cloudquotas_v1beta/services_
23+
cloudquotas_v1beta/types_
24+
1425

1526
Changelog
1627
---------

packages/google-cloud-quotas/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.14" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-quotas/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.14" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2024 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
from google.cloud.cloudquotas_v1beta import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
20+
21+
from .services.cloud_quotas import CloudQuotasAsyncClient, CloudQuotasClient
22+
from .services.quota_adjuster_settings_manager import (
23+
QuotaAdjusterSettingsManagerAsyncClient,
24+
QuotaAdjusterSettingsManagerClient,
25+
)
26+
from .types.cloudquotas import (
27+
CreateQuotaPreferenceRequest,
28+
GetQuotaInfoRequest,
29+
GetQuotaPreferenceRequest,
30+
ListQuotaInfosRequest,
31+
ListQuotaInfosResponse,
32+
ListQuotaPreferencesRequest,
33+
ListQuotaPreferencesResponse,
34+
UpdateQuotaPreferenceRequest,
35+
)
36+
from .types.quota_adjuster_settings import (
37+
GetQuotaAdjusterSettingsRequest,
38+
QuotaAdjusterSettings,
39+
UpdateQuotaAdjusterSettingsRequest,
40+
)
41+
from .types.resources import (
42+
DimensionsInfo,
43+
QuotaConfig,
44+
QuotaDetails,
45+
QuotaIncreaseEligibility,
46+
QuotaInfo,
47+
QuotaPreference,
48+
QuotaSafetyCheck,
49+
RolloutInfo,
50+
)
51+
52+
__all__ = (
53+
"CloudQuotasAsyncClient",
54+
"QuotaAdjusterSettingsManagerAsyncClient",
55+
"CloudQuotasClient",
56+
"CreateQuotaPreferenceRequest",
57+
"DimensionsInfo",
58+
"GetQuotaAdjusterSettingsRequest",
59+
"GetQuotaInfoRequest",
60+
"GetQuotaPreferenceRequest",
61+
"ListQuotaInfosRequest",
62+
"ListQuotaInfosResponse",
63+
"ListQuotaPreferencesRequest",
64+
"ListQuotaPreferencesResponse",
65+
"QuotaAdjusterSettings",
66+
"QuotaAdjusterSettingsManagerClient",
67+
"QuotaConfig",
68+
"QuotaDetails",
69+
"QuotaIncreaseEligibility",
70+
"QuotaInfo",
71+
"QuotaPreference",
72+
"QuotaSafetyCheck",
73+
"RolloutInfo",
74+
"UpdateQuotaAdjusterSettingsRequest",
75+
"UpdateQuotaPreferenceRequest",
76+
)
Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.cloud.cloudquotas_v1beta",
5+
"protoPackage": "google.api.cloudquotas.v1beta",
6+
"schema": "1.0",
7+
"services": {
8+
"CloudQuotas": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "CloudQuotasClient",
12+
"rpcs": {
13+
"CreateQuotaPreference": {
14+
"methods": [
15+
"create_quota_preference"
16+
]
17+
},
18+
"GetQuotaInfo": {
19+
"methods": [
20+
"get_quota_info"
21+
]
22+
},
23+
"GetQuotaPreference": {
24+
"methods": [
25+
"get_quota_preference"
26+
]
27+
},
28+
"ListQuotaInfos": {
29+
"methods": [
30+
"list_quota_infos"
31+
]
32+
},
33+
"ListQuotaPreferences": {
34+
"methods": [
35+
"list_quota_preferences"
36+
]
37+
},
38+
"UpdateQuotaPreference": {
39+
"methods": [
40+
"update_quota_preference"
41+
]
42+
}
43+
}
44+
},
45+
"grpc-async": {
46+
"libraryClient": "CloudQuotasAsyncClient",
47+
"rpcs": {
48+
"CreateQuotaPreference": {
49+
"methods": [
50+
"create_quota_preference"
51+
]
52+
},
53+
"GetQuotaInfo": {
54+
"methods": [
55+
"get_quota_info"
56+
]
57+
},
58+
"GetQuotaPreference": {
59+
"methods": [
60+
"get_quota_preference"
61+
]
62+
},
63+
"ListQuotaInfos": {
64+
"methods": [
65+
"list_quota_infos"
66+
]
67+
},
68+
"ListQuotaPreferences": {
69+
"methods": [
70+
"list_quota_preferences"
71+
]
72+
},
73+
"UpdateQuotaPreference": {
74+
"methods": [
75+
"update_quota_preference"
76+
]
77+
}
78+
}
79+
},
80+
"rest": {
81+
"libraryClient": "CloudQuotasClient",
82+
"rpcs": {
83+
"CreateQuotaPreference": {
84+
"methods": [
85+
"create_quota_preference"
86+
]
87+
},
88+
"GetQuotaInfo": {
89+
"methods": [
90+
"get_quota_info"
91+
]
92+
},
93+
"GetQuotaPreference": {
94+
"methods": [
95+
"get_quota_preference"
96+
]
97+
},
98+
"ListQuotaInfos": {
99+
"methods": [
100+
"list_quota_infos"
101+
]
102+
},
103+
"ListQuotaPreferences": {
104+
"methods": [
105+
"list_quota_preferences"
106+
]
107+
},
108+
"UpdateQuotaPreference": {
109+
"methods": [
110+
"update_quota_preference"
111+
]
112+
}
113+
}
114+
}
115+
}
116+
},
117+
"QuotaAdjusterSettingsManager": {
118+
"clients": {
119+
"grpc": {
120+
"libraryClient": "QuotaAdjusterSettingsManagerClient",
121+
"rpcs": {
122+
"GetQuotaAdjusterSettings": {
123+
"methods": [
124+
"get_quota_adjuster_settings"
125+
]
126+
},
127+
"UpdateQuotaAdjusterSettings": {
128+
"methods": [
129+
"update_quota_adjuster_settings"
130+
]
131+
}
132+
}
133+
},
134+
"grpc-async": {
135+
"libraryClient": "QuotaAdjusterSettingsManagerAsyncClient",
136+
"rpcs": {
137+
"GetQuotaAdjusterSettings": {
138+
"methods": [
139+
"get_quota_adjuster_settings"
140+
]
141+
},
142+
"UpdateQuotaAdjusterSettings": {
143+
"methods": [
144+
"update_quota_adjuster_settings"
145+
]
146+
}
147+
}
148+
},
149+
"rest": {
150+
"libraryClient": "QuotaAdjusterSettingsManagerClient",
151+
"rpcs": {
152+
"GetQuotaAdjusterSettings": {
153+
"methods": [
154+
"get_quota_adjuster_settings"
155+
]
156+
},
157+
"UpdateQuotaAdjusterSettings": {
158+
"methods": [
159+
"update_quota_adjuster_settings"
160+
]
161+
}
162+
}
163+
}
164+
}
165+
}
166+
}
167+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2024 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
__version__ = "0.0.0" # {x-release-please-version}

0 commit comments

Comments
 (0)