Skip to content

Commit 3e038db

Browse files
feat: [google-shopping-merchant-inventories] add inventories API client libraries for v1 (#14172)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 790685328 Source-Link: googleapis/googleapis@bf43233 Source-Link: googleapis/googleapis-gen@ca3ae42 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LWludmVudG9yaWVzLy5Pd2xCb3QueWFtbCIsImgiOiJjYTNhZTQyZTNkNzE2OWU1MzdkM2FhYTZkZmJjNDYxY2YzNjI2NGEzIn0= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 2fd889a commit 3e038db

File tree

56 files changed

+19893
-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.

56 files changed

+19893
-3
lines changed

packages/google-shopping-merchant-inventories/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 Merchant Inventories API.
6+
By default, you will get version ``merchant_inventories_v1beta``.
7+
58

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

17+
API Reference
18+
-------------
19+
.. toctree::
20+
:maxdepth: 2
21+
22+
merchant_inventories_v1/services_
23+
merchant_inventories_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+
LocalInventoryService
2+
---------------------------------------
3+
4+
.. automodule:: google.shopping.merchant_inventories_v1.services.local_inventory_service
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.shopping.merchant_inventories_v1.services.local_inventory_service.pagers
9+
:members:
10+
:inherited-members:
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
RegionalInventoryService
2+
------------------------------------------
3+
4+
.. automodule:: google.shopping.merchant_inventories_v1.services.regional_inventory_service
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.shopping.merchant_inventories_v1.services.regional_inventory_service.pagers
9+
:members:
10+
:inherited-members:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Services for Google Shopping Merchant Inventories v1 API
2+
========================================================
3+
.. toctree::
4+
:maxdepth: 2
5+
6+
local_inventory_service
7+
regional_inventory_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 Inventories v1 API
2+
=====================================================
3+
4+
.. automodule:: google.shopping.merchant_inventories_v1.types
5+
:members:
6+
:show-inheritance:

packages/google-shopping-merchant-inventories/google/shopping/merchant_inventories/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}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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_inventories_v1 import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
20+
21+
from .services.local_inventory_service import (
22+
LocalInventoryServiceAsyncClient,
23+
LocalInventoryServiceClient,
24+
)
25+
from .services.regional_inventory_service import (
26+
RegionalInventoryServiceAsyncClient,
27+
RegionalInventoryServiceClient,
28+
)
29+
from .types.inventories_common import (
30+
LocalInventoryAttributes,
31+
RegionalInventoryAttributes,
32+
)
33+
from .types.localinventory import (
34+
DeleteLocalInventoryRequest,
35+
InsertLocalInventoryRequest,
36+
ListLocalInventoriesRequest,
37+
ListLocalInventoriesResponse,
38+
LocalInventory,
39+
)
40+
from .types.regionalinventory import (
41+
DeleteRegionalInventoryRequest,
42+
InsertRegionalInventoryRequest,
43+
ListRegionalInventoriesRequest,
44+
ListRegionalInventoriesResponse,
45+
RegionalInventory,
46+
)
47+
48+
__all__ = (
49+
"LocalInventoryServiceAsyncClient",
50+
"RegionalInventoryServiceAsyncClient",
51+
"DeleteLocalInventoryRequest",
52+
"DeleteRegionalInventoryRequest",
53+
"InsertLocalInventoryRequest",
54+
"InsertRegionalInventoryRequest",
55+
"ListLocalInventoriesRequest",
56+
"ListLocalInventoriesResponse",
57+
"ListRegionalInventoriesRequest",
58+
"ListRegionalInventoriesResponse",
59+
"LocalInventory",
60+
"LocalInventoryAttributes",
61+
"LocalInventoryServiceClient",
62+
"RegionalInventory",
63+
"RegionalInventoryAttributes",
64+
"RegionalInventoryServiceClient",
65+
)
Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.shopping.merchant_inventories_v1",
5+
"protoPackage": "google.shopping.merchant.inventories.v1",
6+
"schema": "1.0",
7+
"services": {
8+
"LocalInventoryService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "LocalInventoryServiceClient",
12+
"rpcs": {
13+
"DeleteLocalInventory": {
14+
"methods": [
15+
"delete_local_inventory"
16+
]
17+
},
18+
"InsertLocalInventory": {
19+
"methods": [
20+
"insert_local_inventory"
21+
]
22+
},
23+
"ListLocalInventories": {
24+
"methods": [
25+
"list_local_inventories"
26+
]
27+
}
28+
}
29+
},
30+
"grpc-async": {
31+
"libraryClient": "LocalInventoryServiceAsyncClient",
32+
"rpcs": {
33+
"DeleteLocalInventory": {
34+
"methods": [
35+
"delete_local_inventory"
36+
]
37+
},
38+
"InsertLocalInventory": {
39+
"methods": [
40+
"insert_local_inventory"
41+
]
42+
},
43+
"ListLocalInventories": {
44+
"methods": [
45+
"list_local_inventories"
46+
]
47+
}
48+
}
49+
},
50+
"rest": {
51+
"libraryClient": "LocalInventoryServiceClient",
52+
"rpcs": {
53+
"DeleteLocalInventory": {
54+
"methods": [
55+
"delete_local_inventory"
56+
]
57+
},
58+
"InsertLocalInventory": {
59+
"methods": [
60+
"insert_local_inventory"
61+
]
62+
},
63+
"ListLocalInventories": {
64+
"methods": [
65+
"list_local_inventories"
66+
]
67+
}
68+
}
69+
}
70+
}
71+
},
72+
"RegionalInventoryService": {
73+
"clients": {
74+
"grpc": {
75+
"libraryClient": "RegionalInventoryServiceClient",
76+
"rpcs": {
77+
"DeleteRegionalInventory": {
78+
"methods": [
79+
"delete_regional_inventory"
80+
]
81+
},
82+
"InsertRegionalInventory": {
83+
"methods": [
84+
"insert_regional_inventory"
85+
]
86+
},
87+
"ListRegionalInventories": {
88+
"methods": [
89+
"list_regional_inventories"
90+
]
91+
}
92+
}
93+
},
94+
"grpc-async": {
95+
"libraryClient": "RegionalInventoryServiceAsyncClient",
96+
"rpcs": {
97+
"DeleteRegionalInventory": {
98+
"methods": [
99+
"delete_regional_inventory"
100+
]
101+
},
102+
"InsertRegionalInventory": {
103+
"methods": [
104+
"insert_regional_inventory"
105+
]
106+
},
107+
"ListRegionalInventories": {
108+
"methods": [
109+
"list_regional_inventories"
110+
]
111+
}
112+
}
113+
},
114+
"rest": {
115+
"libraryClient": "RegionalInventoryServiceClient",
116+
"rpcs": {
117+
"DeleteRegionalInventory": {
118+
"methods": [
119+
"delete_regional_inventory"
120+
]
121+
},
122+
"InsertRegionalInventory": {
123+
"methods": [
124+
"insert_regional_inventory"
125+
]
126+
},
127+
"ListRegionalInventories": {
128+
"methods": [
129+
"list_regional_inventories"
130+
]
131+
}
132+
}
133+
}
134+
}
135+
}
136+
}
137+
}
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-inventories package uses inline types.

0 commit comments

Comments
 (0)