Skip to content

Commit 7752ebf

Browse files
feat: [google-shopping-merchant-reports] add reports API client libraries for v1 (googleapis#14186)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 791184292 Source-Link: googleapis/googleapis@daaa0a7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/268e8725f608699af092a1fba7e10b3adc9c9417 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LXJlcG9ydHMvLk93bEJvdC55YW1sIiwiaCI6IjI2OGU4NzI1ZjYwODY5OWFmMDkyYTFmYmE3ZTEwYjNhZGM5Yzk0MTcifQ== --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent e7be387 commit 7752ebf

File tree

29 files changed

+9063
-1
lines changed

29 files changed

+9063
-1
lines changed

packages/google-shopping-merchant-reports/docs/index.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ API Reference
1414
merchant_reports_v1beta/services_
1515
merchant_reports_v1beta/types_
1616

17+
API Reference
18+
-------------
19+
.. toctree::
20+
:maxdepth: 2
21+
22+
merchant_reports_v1/services_
23+
merchant_reports_v1/types_
24+
1725
API Reference
1826
-------------
1927
.. toctree::
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_v1.services.report_service
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.shopping.merchant_reports_v1.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 v1 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 v1 API
2+
=================================================
3+
4+
.. automodule:: google.shopping.merchant_reports_v1.types
5+
:members:
6+
:show-inheritance:
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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_v1 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+
)
42+
43+
__all__ = (
44+
"ReportServiceAsyncClient",
45+
"BestSellersBrandView",
46+
"BestSellersProductClusterView",
47+
"CompetitiveVisibilityBenchmarkView",
48+
"CompetitiveVisibilityCompetitorView",
49+
"CompetitiveVisibilityTopMerchantView",
50+
"MarketingMethod",
51+
"NonProductPerformanceView",
52+
"PriceCompetitivenessProductView",
53+
"PriceInsightsProductView",
54+
"ProductPerformanceView",
55+
"ProductView",
56+
"RelativeDemand",
57+
"RelativeDemandChangeType",
58+
"ReportGranularity",
59+
"ReportRow",
60+
"ReportServiceClient",
61+
"SearchRequest",
62+
"SearchResponse",
63+
"TrafficSource",
64+
)
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_v1",
5+
"protoPackage": "google.shopping.merchant.reports.v1",
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+
#
Lines changed: 22 additions & 0 deletions
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 ReportServiceAsyncClient
17+
from .client import ReportServiceClient
18+
19+
__all__ = (
20+
"ReportServiceClient",
21+
"ReportServiceAsyncClient",
22+
)

0 commit comments

Comments
 (0)