Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions packages/google-shopping-css/docs/css_v1/quota_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
QuotaService
------------------------------

.. automodule:: google.shopping.css_v1.services.quota_service
:members:
:inherited-members:

.. automodule:: google.shopping.css_v1.services.quota_service.pagers
:members:
:inherited-members:
1 change: 1 addition & 0 deletions packages/google-shopping-css/docs/css_v1/services_.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Services for Google Shopping Css v1 API
accounts_service
css_product_inputs_service
css_products_service
quota_service
16 changes: 16 additions & 0 deletions packages/google-shopping-css/google/shopping/css/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
from google.shopping.css_v1.services.css_products_service.client import (
CssProductsServiceClient,
)
from google.shopping.css_v1.services.quota_service.async_client import (
QuotaServiceAsyncClient,
)
from google.shopping.css_v1.services.quota_service.client import QuotaServiceClient
from google.shopping.css_v1.types.accounts import (
Account,
GetAccountRequest,
Expand Down Expand Up @@ -80,6 +84,12 @@
ListCssProductsRequest,
ListCssProductsResponse,
)
from google.shopping.css_v1.types.quota import (
ListQuotaGroupsRequest,
ListQuotaGroupsResponse,
MethodDetails,
QuotaGroup,
)

__all__ = (
"AccountLabelsServiceClient",
Expand All @@ -90,6 +100,8 @@
"CssProductInputsServiceAsyncClient",
"CssProductsServiceClient",
"CssProductsServiceAsyncClient",
"QuotaServiceClient",
"QuotaServiceAsyncClient",
"Account",
"GetAccountRequest",
"ListChildAccountsRequest",
Expand Down Expand Up @@ -118,4 +130,8 @@
"GetCssProductRequest",
"ListCssProductsRequest",
"ListCssProductsResponse",
"ListQuotaGroupsRequest",
"ListQuotaGroupsResponse",
"MethodDetails",
"QuotaGroup",
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.1.15" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
13 changes: 13 additions & 0 deletions packages/google-shopping-css/google/shopping/css_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
CssProductsServiceAsyncClient,
CssProductsServiceClient,
)
from .services.quota_service import QuotaServiceAsyncClient, QuotaServiceClient
from .types.accounts import (
Account,
GetAccountRequest,
Expand Down Expand Up @@ -69,12 +70,19 @@
ListCssProductsRequest,
ListCssProductsResponse,
)
from .types.quota import (
ListQuotaGroupsRequest,
ListQuotaGroupsResponse,
MethodDetails,
QuotaGroup,
)

__all__ = (
"AccountLabelsServiceAsyncClient",
"AccountsServiceAsyncClient",
"CssProductInputsServiceAsyncClient",
"CssProductsServiceAsyncClient",
"QuotaServiceAsyncClient",
"Account",
"AccountLabel",
"AccountLabelsServiceClient",
Expand All @@ -100,9 +108,14 @@
"ListChildAccountsResponse",
"ListCssProductsRequest",
"ListCssProductsResponse",
"ListQuotaGroupsRequest",
"ListQuotaGroupsResponse",
"MethodDetails",
"ProductDetail",
"ProductDimension",
"ProductWeight",
"QuotaGroup",
"QuotaServiceClient",
"SubscriptionPeriod",
"UpdateAccountLabelRequest",
"UpdateAccountLabelsRequest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,40 @@
}
}
}
},
"QuotaService": {
"clients": {
"grpc": {
"libraryClient": "QuotaServiceClient",
"rpcs": {
"ListQuotaGroups": {
"methods": [
"list_quota_groups"
]
}
}
},
"grpc-async": {
"libraryClient": "QuotaServiceAsyncClient",
"rpcs": {
"ListQuotaGroups": {
"methods": [
"list_quota_groups"
]
}
}
},
"rest": {
"libraryClient": "QuotaServiceClient",
"rpcs": {
"ListQuotaGroups": {
"methods": [
"list_quota_groups"
]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.1.15" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,10 @@ async def sample_delete_css_product_input():
name (:class:`str`):
Required. The name of the CSS product input resource to
delete. Format:
accounts/{account}/cssProductInputs/{css_product_input}
accounts/{account}/cssProductInputs/{css_product_input},
where the last section ``css_product_input`` consists of
3 parts: contentLanguage~feedLabel~offerId. Example:
accounts/123/cssProductInputs/de~DE~rawProvidedId123

This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,10 @@ def sample_delete_css_product_input():
name (str):
Required. The name of the CSS product input resource to
delete. Format:
accounts/{account}/cssProductInputs/{css_product_input}
accounts/{account}/cssProductInputs/{css_product_input},
where the last section ``css_product_input`` consists of
3 parts: contentLanguage~feedLabel~offerId. Example:
accounts/123/cssProductInputs/de~DE~rawProvidedId123

This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from .async_client import QuotaServiceAsyncClient
from .client import QuotaServiceClient

__all__ = (
"QuotaServiceClient",
"QuotaServiceAsyncClient",
)
Loading