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
11 changes: 11 additions & 0 deletions packages/google-shopping-merchant-inventories/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

.. include:: multiprocessing.rst

This package includes clients for multiple versions of Merchant Inventories API.
By default, you will get version ``merchant_inventories_v1beta``.


API Reference
-------------
Expand All @@ -11,6 +14,14 @@ API Reference
merchant_inventories_v1beta/services_
merchant_inventories_v1beta/types_

API Reference
-------------
.. toctree::
:maxdepth: 2

merchant_inventories_v1/services_
merchant_inventories_v1/types_


Changelog
---------
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
LocalInventoryService
---------------------------------------

.. automodule:: google.shopping.merchant_inventories_v1.services.local_inventory_service
:members:
:inherited-members:

.. automodule:: google.shopping.merchant_inventories_v1.services.local_inventory_service.pagers
:members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
RegionalInventoryService
------------------------------------------

.. automodule:: google.shopping.merchant_inventories_v1.services.regional_inventory_service
:members:
:inherited-members:

.. automodule:: google.shopping.merchant_inventories_v1.services.regional_inventory_service.pagers
:members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Services for Google Shopping Merchant Inventories v1 API
========================================================
.. toctree::
:maxdepth: 2

local_inventory_service
regional_inventory_service
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Types for Google Shopping Merchant Inventories v1 API
=====================================================

.. automodule:: google.shopping.merchant_inventories_v1.types
:members:
:show-inheritance:
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
@@ -0,0 +1,65 @@
# -*- 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 google.shopping.merchant_inventories_v1 import gapic_version as package_version

__version__ = package_version.__version__


from .services.local_inventory_service import (
LocalInventoryServiceAsyncClient,
LocalInventoryServiceClient,
)
from .services.regional_inventory_service import (
RegionalInventoryServiceAsyncClient,
RegionalInventoryServiceClient,
)
from .types.inventories_common import (
LocalInventoryAttributes,
RegionalInventoryAttributes,
)
from .types.localinventory import (
DeleteLocalInventoryRequest,
InsertLocalInventoryRequest,
ListLocalInventoriesRequest,
ListLocalInventoriesResponse,
LocalInventory,
)
from .types.regionalinventory import (
DeleteRegionalInventoryRequest,
InsertRegionalInventoryRequest,
ListRegionalInventoriesRequest,
ListRegionalInventoriesResponse,
RegionalInventory,
)

__all__ = (
"LocalInventoryServiceAsyncClient",
"RegionalInventoryServiceAsyncClient",
"DeleteLocalInventoryRequest",
"DeleteRegionalInventoryRequest",
"InsertLocalInventoryRequest",
"InsertRegionalInventoryRequest",
"ListLocalInventoriesRequest",
"ListLocalInventoriesResponse",
"ListRegionalInventoriesRequest",
"ListRegionalInventoriesResponse",
"LocalInventory",
"LocalInventoryAttributes",
"LocalInventoryServiceClient",
"RegionalInventory",
"RegionalInventoryAttributes",
"RegionalInventoryServiceClient",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.shopping.merchant_inventories_v1",
"protoPackage": "google.shopping.merchant.inventories.v1",
"schema": "1.0",
"services": {
"LocalInventoryService": {
"clients": {
"grpc": {
"libraryClient": "LocalInventoryServiceClient",
"rpcs": {
"DeleteLocalInventory": {
"methods": [
"delete_local_inventory"
]
},
"InsertLocalInventory": {
"methods": [
"insert_local_inventory"
]
},
"ListLocalInventories": {
"methods": [
"list_local_inventories"
]
}
}
},
"grpc-async": {
"libraryClient": "LocalInventoryServiceAsyncClient",
"rpcs": {
"DeleteLocalInventory": {
"methods": [
"delete_local_inventory"
]
},
"InsertLocalInventory": {
"methods": [
"insert_local_inventory"
]
},
"ListLocalInventories": {
"methods": [
"list_local_inventories"
]
}
}
},
"rest": {
"libraryClient": "LocalInventoryServiceClient",
"rpcs": {
"DeleteLocalInventory": {
"methods": [
"delete_local_inventory"
]
},
"InsertLocalInventory": {
"methods": [
"insert_local_inventory"
]
},
"ListLocalInventories": {
"methods": [
"list_local_inventories"
]
}
}
}
}
},
"RegionalInventoryService": {
"clients": {
"grpc": {
"libraryClient": "RegionalInventoryServiceClient",
"rpcs": {
"DeleteRegionalInventory": {
"methods": [
"delete_regional_inventory"
]
},
"InsertRegionalInventory": {
"methods": [
"insert_regional_inventory"
]
},
"ListRegionalInventories": {
"methods": [
"list_regional_inventories"
]
}
}
},
"grpc-async": {
"libraryClient": "RegionalInventoryServiceAsyncClient",
"rpcs": {
"DeleteRegionalInventory": {
"methods": [
"delete_regional_inventory"
]
},
"InsertRegionalInventory": {
"methods": [
"insert_regional_inventory"
]
},
"ListRegionalInventories": {
"methods": [
"list_regional_inventories"
]
}
}
},
"rest": {
"libraryClient": "RegionalInventoryServiceClient",
"rpcs": {
"DeleteRegionalInventory": {
"methods": [
"delete_regional_inventory"
]
},
"InsertRegionalInventory": {
"methods": [
"insert_regional_inventory"
]
},
"ListRegionalInventories": {
"methods": [
"list_regional_inventories"
]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- 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.
#
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Marker file for PEP 561.
# The google-shopping-merchant-inventories package uses inline types.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# -*- 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.
#
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 LocalInventoryServiceAsyncClient
from .client import LocalInventoryServiceClient

__all__ = (
"LocalInventoryServiceClient",
"LocalInventoryServiceAsyncClient",
)
Loading
Loading