Skip to content

Commit 299698d

Browse files
feat: [google-shopping-merchant-ordertracking] add ordertracking API client libraries for v1 (googleapis#14184)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 791137429 Source-Link: googleapis/googleapis@438200a Source-Link: https://github.com/googleapis/googleapis-gen/commit/ad9a83a608b63d84f139b579948a609f6856db91 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LW9yZGVydHJhY2tpbmcvLk93bEJvdC55YW1sIiwiaCI6ImFkOWE4M2E2MDhiNjNkODRmMTM5YjU3OTk0OGE2MDlmNjg1NmRiOTEifQ== --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 23ad885 commit 299698d

27 files changed

+6852
-0
lines changed

packages/google-shopping-merchant-ordertracking/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_ordertracking_v1beta``.
7+
58

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

17+
API Reference
18+
-------------
19+
.. toctree::
20+
:maxdepth: 2
21+
22+
merchant_ordertracking_v1/services_
23+
merchant_ordertracking_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+
OrderTrackingSignalsService
2+
---------------------------------------------
3+
4+
.. automodule:: google.shopping.merchant_ordertracking_v1.services.order_tracking_signals_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+
Services for Google Shopping Merchant Ordertracking v1 API
2+
==========================================================
3+
.. toctree::
4+
:maxdepth: 2
5+
6+
order_tracking_signals_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 Ordertracking v1 API
2+
=======================================================
3+
4+
.. automodule:: google.shopping.merchant_ordertracking_v1.types
5+
:members:
6+
:show-inheritance:
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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_ordertracking_v1 import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
20+
21+
from .services.order_tracking_signals_service import (
22+
OrderTrackingSignalsServiceAsyncClient,
23+
OrderTrackingSignalsServiceClient,
24+
)
25+
from .types.order_tracking_signals import (
26+
CreateOrderTrackingSignalRequest,
27+
OrderTrackingSignal,
28+
)
29+
30+
__all__ = (
31+
"OrderTrackingSignalsServiceAsyncClient",
32+
"CreateOrderTrackingSignalRequest",
33+
"OrderTrackingSignal",
34+
"OrderTrackingSignalsServiceClient",
35+
)
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.shopping.merchant_ordertracking_v1",
5+
"protoPackage": "google.shopping.merchant.ordertracking.v1",
6+
"schema": "1.0",
7+
"services": {
8+
"OrderTrackingSignalsService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "OrderTrackingSignalsServiceClient",
12+
"rpcs": {
13+
"CreateOrderTrackingSignal": {
14+
"methods": [
15+
"create_order_tracking_signal"
16+
]
17+
}
18+
}
19+
},
20+
"grpc-async": {
21+
"libraryClient": "OrderTrackingSignalsServiceAsyncClient",
22+
"rpcs": {
23+
"CreateOrderTrackingSignal": {
24+
"methods": [
25+
"create_order_tracking_signal"
26+
]
27+
}
28+
}
29+
},
30+
"rest": {
31+
"libraryClient": "OrderTrackingSignalsServiceClient",
32+
"rpcs": {
33+
"CreateOrderTrackingSignal": {
34+
"methods": [
35+
"create_order_tracking_signal"
36+
]
37+
}
38+
}
39+
}
40+
}
41+
}
42+
}
43+
}
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-ordertracking package uses inline types.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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+
#
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 OrderTrackingSignalsServiceAsyncClient
17+
from .client import OrderTrackingSignalsServiceClient
18+
19+
__all__ = (
20+
"OrderTrackingSignalsServiceClient",
21+
"OrderTrackingSignalsServiceAsyncClient",
22+
)

0 commit comments

Comments
 (0)