Skip to content

Commit 29d65ad

Browse files
feat: add quota API for v1 (googleapis#14177)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 791352114 Source-Link: googleapis/googleapis@1375968 Source-Link: https://github.com/googleapis/googleapis-gen/commit/aeccadebf3421486494f15f8fd1e14720722b5c8 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LXF1b3RhLy5Pd2xCb3QueWFtbCIsImgiOiJhZWNjYWRlYmYzNDIxNDg2NDk0ZjE1ZjhmZDFlMTQ3MjA3MjJiNWM4In0= feat: add quota API for v1 PiperOrigin-RevId: 790778741 Source-Link: googleapis/googleapis@3225878 Source-Link: https://github.com/googleapis/googleapis-gen/commit/b6725bdca568ade9c9815ec936d2796d18c14e80 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LXF1b3RhLy5Pd2xCb3QueWFtbCIsImgiOiJiNjcyNWJkY2E1NjhhZGU5Yzk4MTVlYzkzNmQyNzk2ZDE4YzE0ZTgwIn0= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent a22f512 commit 29d65ad

31 files changed

+6673
-3
lines changed

packages/google-shopping-merchant-quota/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 Shopping Merchant Quota.
6+
By default, you will get version ``merchant_quota_v1beta``.
7+
58

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

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

1526
Changelog
1627
---------
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
QuotaService
2+
------------------------------
3+
4+
.. automodule:: google.shopping.merchant_quota_v1.services.quota_service
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.shopping.merchant_quota_v1.services.quota_service.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+
Services for Google Shopping Merchant Quota v1 API
2+
==================================================
3+
.. toctree::
4+
:maxdepth: 2
5+
6+
quota_service
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Types for Google Shopping Merchant Quota v1 API
2+
===============================================
3+
4+
.. automodule:: google.shopping.merchant_quota_v1.types
5+
:members:
6+
:show-inheritance:

packages/google-shopping-merchant-quota/google/shopping/merchant_quota/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.8" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 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.shopping.merchant_quota_v1 import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
20+
21+
from .services.quota_service import QuotaServiceAsyncClient, QuotaServiceClient
22+
from .types.quota import (
23+
ListQuotaGroupsRequest,
24+
ListQuotaGroupsResponse,
25+
MethodDetails,
26+
QuotaGroup,
27+
)
28+
29+
__all__ = (
30+
"QuotaServiceAsyncClient",
31+
"ListQuotaGroupsRequest",
32+
"ListQuotaGroupsResponse",
33+
"MethodDetails",
34+
"QuotaGroup",
35+
"QuotaServiceClient",
36+
)
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.shopping.merchant_quota_v1",
5+
"protoPackage": "google.shopping.merchant.quota.v1",
6+
"schema": "1.0",
7+
"services": {
8+
"QuotaService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "QuotaServiceClient",
12+
"rpcs": {
13+
"ListQuotaGroups": {
14+
"methods": [
15+
"list_quota_groups"
16+
]
17+
}
18+
}
19+
},
20+
"grpc-async": {
21+
"libraryClient": "QuotaServiceAsyncClient",
22+
"rpcs": {
23+
"ListQuotaGroups": {
24+
"methods": [
25+
"list_quota_groups"
26+
]
27+
}
28+
}
29+
},
30+
"rest": {
31+
"libraryClient": "QuotaServiceClient",
32+
"rpcs": {
33+
"ListQuotaGroups": {
34+
"methods": [
35+
"list_quota_groups"
36+
]
37+
}
38+
}
39+
}
40+
}
41+
}
42+
}
43+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 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}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Marker file for PEP 561.
2+
# The google-shopping-merchant-quota package uses inline types.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 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+
#

0 commit comments

Comments
 (0)