Skip to content

Commit 4181153

Browse files
feat: [google-shopping-merchant-lfp] add lfp API for v1 (googleapis#14176)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 790778653 Source-Link: googleapis/googleapis@82e21d0 Source-Link: https://github.com/googleapis/googleapis-gen/commit/d36888e840ada93571ed70e21250e0459ae5bea8 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LWxmcC8uT3dsQm90LnlhbWwiLCJoIjoiZDM2ODg4ZTg0MGFkYTkzNTcxZWQ3MGUyMTI1MGUwNDU5YWU1YmVhOCJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 147cca6 commit 4181153

File tree

79 files changed

+29663
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+29663
-0
lines changed

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

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

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

1526
Changelog
1627
---------
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
LfpInventoryService
2+
-------------------------------------
3+
4+
.. automodule:: google.shopping.merchant_lfp_v1.services.lfp_inventory_service
5+
:members:
6+
:inherited-members:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
LfpMerchantStateService
2+
-----------------------------------------
3+
4+
.. automodule:: google.shopping.merchant_lfp_v1.services.lfp_merchant_state_service
5+
:members:
6+
:inherited-members:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
LfpSaleService
2+
--------------------------------
3+
4+
.. automodule:: google.shopping.merchant_lfp_v1.services.lfp_sale_service
5+
:members:
6+
:inherited-members:
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
LfpStoreService
2+
---------------------------------
3+
4+
.. automodule:: google.shopping.merchant_lfp_v1.services.lfp_store_service
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.shopping.merchant_lfp_v1.services.lfp_store_service.pagers
9+
:members:
10+
:inherited-members:
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Services for Google Shopping Merchant Lfp v1 API
2+
================================================
3+
.. toctree::
4+
:maxdepth: 2
5+
6+
lfp_inventory_service
7+
lfp_merchant_state_service
8+
lfp_sale_service
9+
lfp_store_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 Lfp v1 API
2+
=============================================
3+
4+
.. automodule:: google.shopping.merchant_lfp_v1.types
5+
:members:
6+
:show-inheritance:
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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_lfp_v1 import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
20+
21+
from .services.lfp_inventory_service import (
22+
LfpInventoryServiceAsyncClient,
23+
LfpInventoryServiceClient,
24+
)
25+
from .services.lfp_merchant_state_service import (
26+
LfpMerchantStateServiceAsyncClient,
27+
LfpMerchantStateServiceClient,
28+
)
29+
from .services.lfp_sale_service import LfpSaleServiceAsyncClient, LfpSaleServiceClient
30+
from .services.lfp_store_service import (
31+
LfpStoreServiceAsyncClient,
32+
LfpStoreServiceClient,
33+
)
34+
from .types.lfpinventory import InsertLfpInventoryRequest, LfpInventory
35+
from .types.lfpmerchantstate import GetLfpMerchantStateRequest, LfpMerchantState
36+
from .types.lfpsale import InsertLfpSaleRequest, LfpSale
37+
from .types.lfpstore import (
38+
DeleteLfpStoreRequest,
39+
GetLfpStoreRequest,
40+
InsertLfpStoreRequest,
41+
LfpStore,
42+
ListLfpStoresRequest,
43+
ListLfpStoresResponse,
44+
)
45+
46+
__all__ = (
47+
"LfpInventoryServiceAsyncClient",
48+
"LfpMerchantStateServiceAsyncClient",
49+
"LfpSaleServiceAsyncClient",
50+
"LfpStoreServiceAsyncClient",
51+
"DeleteLfpStoreRequest",
52+
"GetLfpMerchantStateRequest",
53+
"GetLfpStoreRequest",
54+
"InsertLfpInventoryRequest",
55+
"InsertLfpSaleRequest",
56+
"InsertLfpStoreRequest",
57+
"LfpInventory",
58+
"LfpInventoryServiceClient",
59+
"LfpMerchantState",
60+
"LfpMerchantStateServiceClient",
61+
"LfpSale",
62+
"LfpSaleServiceClient",
63+
"LfpStore",
64+
"LfpStoreServiceClient",
65+
"ListLfpStoresRequest",
66+
"ListLfpStoresResponse",
67+
)
Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.shopping.merchant_lfp_v1",
5+
"protoPackage": "google.shopping.merchant.lfp.v1",
6+
"schema": "1.0",
7+
"services": {
8+
"LfpInventoryService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "LfpInventoryServiceClient",
12+
"rpcs": {
13+
"InsertLfpInventory": {
14+
"methods": [
15+
"insert_lfp_inventory"
16+
]
17+
}
18+
}
19+
},
20+
"grpc-async": {
21+
"libraryClient": "LfpInventoryServiceAsyncClient",
22+
"rpcs": {
23+
"InsertLfpInventory": {
24+
"methods": [
25+
"insert_lfp_inventory"
26+
]
27+
}
28+
}
29+
},
30+
"rest": {
31+
"libraryClient": "LfpInventoryServiceClient",
32+
"rpcs": {
33+
"InsertLfpInventory": {
34+
"methods": [
35+
"insert_lfp_inventory"
36+
]
37+
}
38+
}
39+
}
40+
}
41+
},
42+
"LfpMerchantStateService": {
43+
"clients": {
44+
"grpc": {
45+
"libraryClient": "LfpMerchantStateServiceClient",
46+
"rpcs": {
47+
"GetLfpMerchantState": {
48+
"methods": [
49+
"get_lfp_merchant_state"
50+
]
51+
}
52+
}
53+
},
54+
"grpc-async": {
55+
"libraryClient": "LfpMerchantStateServiceAsyncClient",
56+
"rpcs": {
57+
"GetLfpMerchantState": {
58+
"methods": [
59+
"get_lfp_merchant_state"
60+
]
61+
}
62+
}
63+
},
64+
"rest": {
65+
"libraryClient": "LfpMerchantStateServiceClient",
66+
"rpcs": {
67+
"GetLfpMerchantState": {
68+
"methods": [
69+
"get_lfp_merchant_state"
70+
]
71+
}
72+
}
73+
}
74+
}
75+
},
76+
"LfpSaleService": {
77+
"clients": {
78+
"grpc": {
79+
"libraryClient": "LfpSaleServiceClient",
80+
"rpcs": {
81+
"InsertLfpSale": {
82+
"methods": [
83+
"insert_lfp_sale"
84+
]
85+
}
86+
}
87+
},
88+
"grpc-async": {
89+
"libraryClient": "LfpSaleServiceAsyncClient",
90+
"rpcs": {
91+
"InsertLfpSale": {
92+
"methods": [
93+
"insert_lfp_sale"
94+
]
95+
}
96+
}
97+
},
98+
"rest": {
99+
"libraryClient": "LfpSaleServiceClient",
100+
"rpcs": {
101+
"InsertLfpSale": {
102+
"methods": [
103+
"insert_lfp_sale"
104+
]
105+
}
106+
}
107+
}
108+
}
109+
},
110+
"LfpStoreService": {
111+
"clients": {
112+
"grpc": {
113+
"libraryClient": "LfpStoreServiceClient",
114+
"rpcs": {
115+
"DeleteLfpStore": {
116+
"methods": [
117+
"delete_lfp_store"
118+
]
119+
},
120+
"GetLfpStore": {
121+
"methods": [
122+
"get_lfp_store"
123+
]
124+
},
125+
"InsertLfpStore": {
126+
"methods": [
127+
"insert_lfp_store"
128+
]
129+
},
130+
"ListLfpStores": {
131+
"methods": [
132+
"list_lfp_stores"
133+
]
134+
}
135+
}
136+
},
137+
"grpc-async": {
138+
"libraryClient": "LfpStoreServiceAsyncClient",
139+
"rpcs": {
140+
"DeleteLfpStore": {
141+
"methods": [
142+
"delete_lfp_store"
143+
]
144+
},
145+
"GetLfpStore": {
146+
"methods": [
147+
"get_lfp_store"
148+
]
149+
},
150+
"InsertLfpStore": {
151+
"methods": [
152+
"insert_lfp_store"
153+
]
154+
},
155+
"ListLfpStores": {
156+
"methods": [
157+
"list_lfp_stores"
158+
]
159+
}
160+
}
161+
},
162+
"rest": {
163+
"libraryClient": "LfpStoreServiceClient",
164+
"rpcs": {
165+
"DeleteLfpStore": {
166+
"methods": [
167+
"delete_lfp_store"
168+
]
169+
},
170+
"GetLfpStore": {
171+
"methods": [
172+
"get_lfp_store"
173+
]
174+
},
175+
"InsertLfpStore": {
176+
"methods": [
177+
"insert_lfp_store"
178+
]
179+
},
180+
"ListLfpStores": {
181+
"methods": [
182+
"list_lfp_stores"
183+
]
184+
}
185+
}
186+
}
187+
}
188+
}
189+
}
190+
}
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}

0 commit comments

Comments
 (0)