Skip to content

Commit 1c2d32c

Browse files
feat: [google-shopping-css] Introduce QuotaService for CSS API (#13744)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat: Introduce QuotaService for CSS API docs: A comment for field `name` in message `.google.shopping.css.v1.CssProductInput` is changed docs: A comment for field `name` in message `.google.shopping.css.v1.DeleteCssProductInputRequest` is changed END_COMMIT_OVERRIDE PiperOrigin-RevId: 745220517 Source-Link: googleapis/googleapis@819f798 Source-Link: googleapis/googleapis-gen@8ca281b Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLWNzcy8uT3dsQm90LnlhbWwiLCJoIjoiOGNhMjgxYmE3MmIwZjAyOGI5ODY0NzlhYmQ5MjdhYmNkZGFmODkyOCJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 62f7efa commit 1c2d32c

28 files changed

+6407
-7
lines changed
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.css_v1.services.quota_service
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.shopping.css_v1.services.quota_service.pagers
9+
:members:
10+
:inherited-members:

packages/google-shopping-css/docs/css_v1/services_.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ Services for Google Shopping Css v1 API
77
accounts_service
88
css_product_inputs_service
99
css_products_service
10+
quota_service

packages/google-shopping-css/google/shopping/css/__init__.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
from google.shopping.css_v1.services.css_products_service.client import (
4343
CssProductsServiceClient,
4444
)
45+
from google.shopping.css_v1.services.quota_service.async_client import (
46+
QuotaServiceAsyncClient,
47+
)
48+
from google.shopping.css_v1.services.quota_service.client import QuotaServiceClient
4549
from google.shopping.css_v1.types.accounts import (
4650
Account,
4751
GetAccountRequest,
@@ -80,6 +84,12 @@
8084
ListCssProductsRequest,
8185
ListCssProductsResponse,
8286
)
87+
from google.shopping.css_v1.types.quota import (
88+
ListQuotaGroupsRequest,
89+
ListQuotaGroupsResponse,
90+
MethodDetails,
91+
QuotaGroup,
92+
)
8393

8494
__all__ = (
8595
"AccountLabelsServiceClient",
@@ -90,6 +100,8 @@
90100
"CssProductInputsServiceAsyncClient",
91101
"CssProductsServiceClient",
92102
"CssProductsServiceAsyncClient",
103+
"QuotaServiceClient",
104+
"QuotaServiceAsyncClient",
93105
"Account",
94106
"GetAccountRequest",
95107
"ListChildAccountsRequest",
@@ -118,4 +130,8 @@
118130
"GetCssProductRequest",
119131
"ListCssProductsRequest",
120132
"ListCssProductsResponse",
133+
"ListQuotaGroupsRequest",
134+
"ListQuotaGroupsResponse",
135+
"MethodDetails",
136+
"QuotaGroup",
121137
)

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

packages/google-shopping-css/google/shopping/css_v1/__init__.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
CssProductsServiceAsyncClient,
3232
CssProductsServiceClient,
3333
)
34+
from .services.quota_service import QuotaServiceAsyncClient, QuotaServiceClient
3435
from .types.accounts import (
3536
Account,
3637
GetAccountRequest,
@@ -69,12 +70,19 @@
6970
ListCssProductsRequest,
7071
ListCssProductsResponse,
7172
)
73+
from .types.quota import (
74+
ListQuotaGroupsRequest,
75+
ListQuotaGroupsResponse,
76+
MethodDetails,
77+
QuotaGroup,
78+
)
7279

7380
__all__ = (
7481
"AccountLabelsServiceAsyncClient",
7582
"AccountsServiceAsyncClient",
7683
"CssProductInputsServiceAsyncClient",
7784
"CssProductsServiceAsyncClient",
85+
"QuotaServiceAsyncClient",
7886
"Account",
7987
"AccountLabel",
8088
"AccountLabelsServiceClient",
@@ -100,9 +108,14 @@
100108
"ListChildAccountsResponse",
101109
"ListCssProductsRequest",
102110
"ListCssProductsResponse",
111+
"ListQuotaGroupsRequest",
112+
"ListQuotaGroupsResponse",
113+
"MethodDetails",
103114
"ProductDetail",
104115
"ProductDimension",
105116
"ProductWeight",
117+
"QuotaGroup",
118+
"QuotaServiceClient",
106119
"SubscriptionPeriod",
107120
"UpdateAccountLabelRequest",
108121
"UpdateAccountLabelsRequest",

packages/google-shopping-css/google/shopping/css_v1/gapic_metadata.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,40 @@
260260
}
261261
}
262262
}
263+
},
264+
"QuotaService": {
265+
"clients": {
266+
"grpc": {
267+
"libraryClient": "QuotaServiceClient",
268+
"rpcs": {
269+
"ListQuotaGroups": {
270+
"methods": [
271+
"list_quota_groups"
272+
]
273+
}
274+
}
275+
},
276+
"grpc-async": {
277+
"libraryClient": "QuotaServiceAsyncClient",
278+
"rpcs": {
279+
"ListQuotaGroups": {
280+
"methods": [
281+
"list_quota_groups"
282+
]
283+
}
284+
}
285+
},
286+
"rest": {
287+
"libraryClient": "QuotaServiceClient",
288+
"rpcs": {
289+
"ListQuotaGroups": {
290+
"methods": [
291+
"list_quota_groups"
292+
]
293+
}
294+
}
295+
}
296+
}
263297
}
264298
}
265299
}

packages/google-shopping-css/google/shopping/css_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.15" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-shopping-css/google/shopping/css_v1/services/css_product_inputs_service/async_client.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,10 @@ async def sample_delete_css_product_input():
610610
name (:class:`str`):
611611
Required. The name of the CSS product input resource to
612612
delete. Format:
613-
accounts/{account}/cssProductInputs/{css_product_input}
613+
accounts/{account}/cssProductInputs/{css_product_input},
614+
where the last section ``css_product_input`` consists of
615+
3 parts: contentLanguage~feedLabel~offerId. Example:
616+
accounts/123/cssProductInputs/de~DE~rawProvidedId123
614617
615618
This corresponds to the ``name`` field
616619
on the ``request`` instance; if ``request`` is provided, this

packages/google-shopping-css/google/shopping/css_v1/services/css_product_inputs_service/client.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,10 @@ def sample_delete_css_product_input():
10211021
name (str):
10221022
Required. The name of the CSS product input resource to
10231023
delete. Format:
1024-
accounts/{account}/cssProductInputs/{css_product_input}
1024+
accounts/{account}/cssProductInputs/{css_product_input},
1025+
where the last section ``css_product_input`` consists of
1026+
3 parts: contentLanguage~feedLabel~offerId. Example:
1027+
accounts/123/cssProductInputs/de~DE~rawProvidedId123
10251028
10261029
This corresponds to the ``name`` field
10271030
on the ``request`` instance; if ``request`` is provided, this
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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 .async_client import QuotaServiceAsyncClient
17+
from .client import QuotaServiceClient
18+
19+
__all__ = (
20+
"QuotaServiceClient",
21+
"QuotaServiceAsyncClient",
22+
)

0 commit comments

Comments
 (0)