Skip to content

Commit 473cbaf

Browse files
feat: [google-shopping-merchant-reports]Add v1alpha version to Merchant reports endpoint (#14053)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 778658049 Source-Link: googleapis/googleapis@c19012a Source-Link: googleapis/googleapis-gen@6ddb577 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LXJlcG9ydHMvLk93bEJvdC55YW1sIiwiaCI6IjZkZGI1Nzc0MzUzNWY1NzdhMzIzYzAxYTA0YTA0ZDJlYTFjZTc2ZmIifQ== --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent 806bd71 commit 473cbaf

32 files changed

+9467
-5
lines changed

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

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

17+
API Reference
18+
-------------
19+
.. toctree::
20+
:maxdepth: 2
21+
22+
merchant_reports_v1alpha/services_
23+
merchant_reports_v1alpha/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+
ReportService
2+
-------------------------------
3+
4+
.. automodule:: google.shopping.merchant_reports_v1alpha.services.report_service
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.shopping.merchant_reports_v1alpha.services.report_service.pagers
9+
:members:
10+
: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 Reports v1alpha API
2+
=========================================================
3+
.. toctree::
4+
:maxdepth: 2
5+
6+
report_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 Reports v1alpha API
2+
======================================================
3+
4+
.. automodule:: google.shopping.merchant_reports_v1alpha.types
5+
:members:
6+
:show-inheritance:

packages/google-shopping-merchant-reports/google/shopping/merchant_reports/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: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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_reports_v1alpha import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
20+
21+
from .services.report_service import ReportServiceAsyncClient, ReportServiceClient
22+
from .types.reports import (
23+
BestSellersBrandView,
24+
BestSellersProductClusterView,
25+
CompetitiveVisibilityBenchmarkView,
26+
CompetitiveVisibilityCompetitorView,
27+
CompetitiveVisibilityTopMerchantView,
28+
MarketingMethod,
29+
NonProductPerformanceView,
30+
PriceCompetitivenessProductView,
31+
PriceInsightsProductView,
32+
ProductPerformanceView,
33+
ProductView,
34+
RelativeDemand,
35+
RelativeDemandChangeType,
36+
ReportGranularity,
37+
ReportRow,
38+
SearchRequest,
39+
SearchResponse,
40+
TrafficSource,
41+
YoutubeContentPerformanceView,
42+
YoutubeCreatorPerformanceView,
43+
YoutubeProductPerformanceView,
44+
)
45+
46+
__all__ = (
47+
"ReportServiceAsyncClient",
48+
"BestSellersBrandView",
49+
"BestSellersProductClusterView",
50+
"CompetitiveVisibilityBenchmarkView",
51+
"CompetitiveVisibilityCompetitorView",
52+
"CompetitiveVisibilityTopMerchantView",
53+
"MarketingMethod",
54+
"NonProductPerformanceView",
55+
"PriceCompetitivenessProductView",
56+
"PriceInsightsProductView",
57+
"ProductPerformanceView",
58+
"ProductView",
59+
"RelativeDemand",
60+
"RelativeDemandChangeType",
61+
"ReportGranularity",
62+
"ReportRow",
63+
"ReportServiceClient",
64+
"SearchRequest",
65+
"SearchResponse",
66+
"TrafficSource",
67+
"YoutubeContentPerformanceView",
68+
"YoutubeCreatorPerformanceView",
69+
"YoutubeProductPerformanceView",
70+
)
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_reports_v1alpha",
5+
"protoPackage": "google.shopping.merchant.reports.v1alpha",
6+
"schema": "1.0",
7+
"services": {
8+
"ReportService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "ReportServiceClient",
12+
"rpcs": {
13+
"Search": {
14+
"methods": [
15+
"search"
16+
]
17+
}
18+
}
19+
},
20+
"grpc-async": {
21+
"libraryClient": "ReportServiceAsyncClient",
22+
"rpcs": {
23+
"Search": {
24+
"methods": [
25+
"search"
26+
]
27+
}
28+
}
29+
},
30+
"rest": {
31+
"libraryClient": "ReportServiceClient",
32+
"rpcs": {
33+
"Search": {
34+
"methods": [
35+
"search"
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-reports 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+
#

0 commit comments

Comments
 (0)