Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit 347ed65

Browse files
feat: Add CloudChannelReportsService to CloudChannel API (#209)
* feat: Add CloudChannelReportsService to CloudChannel API PiperOrigin-RevId: 481642499 Source-Link: googleapis/googleapis@0c78b0c Source-Link: https://github.com/googleapis/googleapis-gen/commit/d5bf707a1960ad03c96207ffac5a8dec26d6ea5f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDViZjcwN2ExOTYwYWQwM2M5NjIwN2ZmYWM1YThkZWMyNmQ2ZWE1ZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent e18612d commit 347ed65

29 files changed

+8025
-13
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CloudChannelReportsService
2+
--------------------------------------------
3+
4+
.. automodule:: google.cloud.channel_v1.services.cloud_channel_reports_service
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.cloud.channel_v1.services.cloud_channel_reports_service.pagers
9+
:members:
10+
:inherited-members:

docs/channel_v1/services.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ Services for Google Cloud Channel v1 API
33
.. toctree::
44
:maxdepth: 2
55

6+
cloud_channel_reports_service
67
cloud_channel_service

google/cloud/channel/__init__.py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
# limitations under the License.
1515
#
1616

17+
from google.cloud.channel_v1.services.cloud_channel_reports_service.async_client import (
18+
CloudChannelReportsServiceAsyncClient,
19+
)
20+
from google.cloud.channel_v1.services.cloud_channel_reports_service.client import (
21+
CloudChannelReportsServiceClient,
22+
)
1723
from google.cloud.channel_v1.services.cloud_channel_service.async_client import (
1824
CloudChannelServiceAsyncClient,
1925
)
@@ -68,6 +74,22 @@
6874
Product,
6975
Sku,
7076
)
77+
from google.cloud.channel_v1.types.reports_service import (
78+
Column,
79+
DateRange,
80+
FetchReportResultsRequest,
81+
FetchReportResultsResponse,
82+
ListReportsRequest,
83+
ListReportsResponse,
84+
Report,
85+
ReportJob,
86+
ReportResultsMetadata,
87+
ReportStatus,
88+
ReportValue,
89+
Row,
90+
RunReportJobRequest,
91+
RunReportJobResponse,
92+
)
7193
from google.cloud.channel_v1.types.repricing import (
7294
ChannelPartnerRepricingConfig,
7395
CustomerRepricingConfig,
@@ -151,6 +173,8 @@
151173
)
152174

153175
__all__ = (
176+
"CloudChannelReportsServiceClient",
177+
"CloudChannelReportsServiceAsyncClient",
154178
"CloudChannelServiceClient",
155179
"CloudChannelServiceAsyncClient",
156180
"ChannelPartnerLink",
@@ -192,6 +216,20 @@
192216
"Product",
193217
"Sku",
194218
"MediaType",
219+
"Column",
220+
"DateRange",
221+
"FetchReportResultsRequest",
222+
"FetchReportResultsResponse",
223+
"ListReportsRequest",
224+
"ListReportsResponse",
225+
"Report",
226+
"ReportJob",
227+
"ReportResultsMetadata",
228+
"ReportStatus",
229+
"ReportValue",
230+
"Row",
231+
"RunReportJobRequest",
232+
"RunReportJobResponse",
195233
"ChannelPartnerRepricingConfig",
196234
"CustomerRepricingConfig",
197235
"PercentageAdjustment",

google/cloud/channel_v1/__init__.py

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
# limitations under the License.
1515
#
1616

17+
from .services.cloud_channel_reports_service import (
18+
CloudChannelReportsServiceAsyncClient,
19+
CloudChannelReportsServiceClient,
20+
)
1721
from .services.cloud_channel_service import (
1822
CloudChannelServiceAsyncClient,
1923
CloudChannelServiceClient,
@@ -55,6 +59,22 @@
5559
)
5660
from .types.operations import OperationMetadata
5761
from .types.products import MarketingInfo, Media, MediaType, Product, Sku
62+
from .types.reports_service import (
63+
Column,
64+
DateRange,
65+
FetchReportResultsRequest,
66+
FetchReportResultsResponse,
67+
ListReportsRequest,
68+
ListReportsResponse,
69+
Report,
70+
ReportJob,
71+
ReportResultsMetadata,
72+
ReportStatus,
73+
ReportValue,
74+
Row,
75+
RunReportJobRequest,
76+
RunReportJobResponse,
77+
)
5878
from .types.repricing import (
5979
ChannelPartnerRepricingConfig,
6080
CustomerRepricingConfig,
@@ -134,6 +154,7 @@
134154
from .types.subscriber_event import CustomerEvent, EntitlementEvent, SubscriberEvent
135155

136156
__all__ = (
157+
"CloudChannelReportsServiceAsyncClient",
137158
"CloudChannelServiceAsyncClient",
138159
"ActivateEntitlementRequest",
139160
"AdminUser",
@@ -148,9 +169,11 @@
148169
"ChannelPartnerRepricingConfig",
149170
"CheckCloudIdentityAccountsExistRequest",
150171
"CheckCloudIdentityAccountsExistResponse",
172+
"CloudChannelReportsServiceClient",
151173
"CloudChannelServiceClient",
152174
"CloudIdentityCustomerAccount",
153175
"CloudIdentityInfo",
176+
"Column",
154177
"CommitmentSettings",
155178
"Constraints",
156179
"ContactInfo",
@@ -163,12 +186,15 @@
163186
"CustomerConstraints",
164187
"CustomerEvent",
165188
"CustomerRepricingConfig",
189+
"DateRange",
166190
"DeleteChannelPartnerRepricingConfigRequest",
167191
"DeleteCustomerRepricingConfigRequest",
168192
"DeleteCustomerRequest",
169193
"EduData",
170194
"Entitlement",
171195
"EntitlementEvent",
196+
"FetchReportResultsRequest",
197+
"FetchReportResultsResponse",
172198
"GetChannelPartnerLinkRequest",
173199
"GetChannelPartnerRepricingConfigRequest",
174200
"GetCustomerRepricingConfigRequest",
@@ -193,6 +219,8 @@
193219
"ListPurchasableOffersResponse",
194220
"ListPurchasableSkusRequest",
195221
"ListPurchasableSkusResponse",
222+
"ListReportsRequest",
223+
"ListReportsResponse",
196224
"ListSkusRequest",
197225
"ListSkusResponse",
198226
"ListSubscribersRequest",
@@ -229,9 +257,17 @@
229257
"RegisterSubscriberRequest",
230258
"RegisterSubscriberResponse",
231259
"RenewalSettings",
260+
"Report",
261+
"ReportJob",
262+
"ReportResultsMetadata",
263+
"ReportStatus",
264+
"ReportValue",
232265
"RepricingAdjustment",
233266
"RepricingConfig",
234267
"ResourceType",
268+
"Row",
269+
"RunReportJobRequest",
270+
"RunReportJobResponse",
235271
"Sku",
236272
"StartPaidServiceRequest",
237273
"SubscriberEvent",

google/cloud/channel_v1/gapic_metadata.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,50 @@
55
"protoPackage": "google.cloud.channel.v1",
66
"schema": "1.0",
77
"services": {
8+
"CloudChannelReportsService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "CloudChannelReportsServiceClient",
12+
"rpcs": {
13+
"FetchReportResults": {
14+
"methods": [
15+
"fetch_report_results"
16+
]
17+
},
18+
"ListReports": {
19+
"methods": [
20+
"list_reports"
21+
]
22+
},
23+
"RunReportJob": {
24+
"methods": [
25+
"run_report_job"
26+
]
27+
}
28+
}
29+
},
30+
"grpc-async": {
31+
"libraryClient": "CloudChannelReportsServiceAsyncClient",
32+
"rpcs": {
33+
"FetchReportResults": {
34+
"methods": [
35+
"fetch_report_results"
36+
]
37+
},
38+
"ListReports": {
39+
"methods": [
40+
"list_reports"
41+
]
42+
},
43+
"RunReportJob": {
44+
"methods": [
45+
"run_report_job"
46+
]
47+
}
48+
}
49+
}
50+
}
51+
},
852
"CloudChannelService": {
953
"clients": {
1054
"grpc": {
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2022 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 CloudChannelReportsServiceAsyncClient
17+
from .client import CloudChannelReportsServiceClient
18+
19+
__all__ = (
20+
"CloudChannelReportsServiceClient",
21+
"CloudChannelReportsServiceAsyncClient",
22+
)

0 commit comments

Comments
 (0)