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

Commit

Permalink
feat: Add CloudChannelReportsService to CloudChannel API (#209)
Browse files Browse the repository at this point in the history
* feat: Add CloudChannelReportsService to CloudChannel API

PiperOrigin-RevId: 481642499

Source-Link: googleapis/googleapis@0c78b0c

Source-Link: googleapis/googleapis-gen@d5bf707
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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Oct 18, 2022
1 parent e18612d commit 347ed65
Show file tree
Hide file tree
Showing 29 changed files with 8,025 additions and 13 deletions.
10 changes: 10 additions & 0 deletions docs/channel_v1/cloud_channel_reports_service.rst
@@ -0,0 +1,10 @@
CloudChannelReportsService
--------------------------------------------

.. automodule:: google.cloud.channel_v1.services.cloud_channel_reports_service
:members:
:inherited-members:

.. automodule:: google.cloud.channel_v1.services.cloud_channel_reports_service.pagers
:members:
:inherited-members:
1 change: 1 addition & 0 deletions docs/channel_v1/services.rst
Expand Up @@ -3,4 +3,5 @@ Services for Google Cloud Channel v1 API
.. toctree::
:maxdepth: 2

cloud_channel_reports_service
cloud_channel_service
38 changes: 38 additions & 0 deletions google/cloud/channel/__init__.py
Expand Up @@ -14,6 +14,12 @@
# limitations under the License.
#

from google.cloud.channel_v1.services.cloud_channel_reports_service.async_client import (
CloudChannelReportsServiceAsyncClient,
)
from google.cloud.channel_v1.services.cloud_channel_reports_service.client import (
CloudChannelReportsServiceClient,
)
from google.cloud.channel_v1.services.cloud_channel_service.async_client import (
CloudChannelServiceAsyncClient,
)
Expand Down Expand Up @@ -68,6 +74,22 @@
Product,
Sku,
)
from google.cloud.channel_v1.types.reports_service import (
Column,
DateRange,
FetchReportResultsRequest,
FetchReportResultsResponse,
ListReportsRequest,
ListReportsResponse,
Report,
ReportJob,
ReportResultsMetadata,
ReportStatus,
ReportValue,
Row,
RunReportJobRequest,
RunReportJobResponse,
)
from google.cloud.channel_v1.types.repricing import (
ChannelPartnerRepricingConfig,
CustomerRepricingConfig,
Expand Down Expand Up @@ -151,6 +173,8 @@
)

__all__ = (
"CloudChannelReportsServiceClient",
"CloudChannelReportsServiceAsyncClient",
"CloudChannelServiceClient",
"CloudChannelServiceAsyncClient",
"ChannelPartnerLink",
Expand Down Expand Up @@ -192,6 +216,20 @@
"Product",
"Sku",
"MediaType",
"Column",
"DateRange",
"FetchReportResultsRequest",
"FetchReportResultsResponse",
"ListReportsRequest",
"ListReportsResponse",
"Report",
"ReportJob",
"ReportResultsMetadata",
"ReportStatus",
"ReportValue",
"Row",
"RunReportJobRequest",
"RunReportJobResponse",
"ChannelPartnerRepricingConfig",
"CustomerRepricingConfig",
"PercentageAdjustment",
Expand Down
36 changes: 36 additions & 0 deletions google/cloud/channel_v1/__init__.py
Expand Up @@ -14,6 +14,10 @@
# limitations under the License.
#

from .services.cloud_channel_reports_service import (
CloudChannelReportsServiceAsyncClient,
CloudChannelReportsServiceClient,
)
from .services.cloud_channel_service import (
CloudChannelServiceAsyncClient,
CloudChannelServiceClient,
Expand Down Expand Up @@ -55,6 +59,22 @@
)
from .types.operations import OperationMetadata
from .types.products import MarketingInfo, Media, MediaType, Product, Sku
from .types.reports_service import (
Column,
DateRange,
FetchReportResultsRequest,
FetchReportResultsResponse,
ListReportsRequest,
ListReportsResponse,
Report,
ReportJob,
ReportResultsMetadata,
ReportStatus,
ReportValue,
Row,
RunReportJobRequest,
RunReportJobResponse,
)
from .types.repricing import (
ChannelPartnerRepricingConfig,
CustomerRepricingConfig,
Expand Down Expand Up @@ -134,6 +154,7 @@
from .types.subscriber_event import CustomerEvent, EntitlementEvent, SubscriberEvent

__all__ = (
"CloudChannelReportsServiceAsyncClient",
"CloudChannelServiceAsyncClient",
"ActivateEntitlementRequest",
"AdminUser",
Expand All @@ -148,9 +169,11 @@
"ChannelPartnerRepricingConfig",
"CheckCloudIdentityAccountsExistRequest",
"CheckCloudIdentityAccountsExistResponse",
"CloudChannelReportsServiceClient",
"CloudChannelServiceClient",
"CloudIdentityCustomerAccount",
"CloudIdentityInfo",
"Column",
"CommitmentSettings",
"Constraints",
"ContactInfo",
Expand All @@ -163,12 +186,15 @@
"CustomerConstraints",
"CustomerEvent",
"CustomerRepricingConfig",
"DateRange",
"DeleteChannelPartnerRepricingConfigRequest",
"DeleteCustomerRepricingConfigRequest",
"DeleteCustomerRequest",
"EduData",
"Entitlement",
"EntitlementEvent",
"FetchReportResultsRequest",
"FetchReportResultsResponse",
"GetChannelPartnerLinkRequest",
"GetChannelPartnerRepricingConfigRequest",
"GetCustomerRepricingConfigRequest",
Expand All @@ -193,6 +219,8 @@
"ListPurchasableOffersResponse",
"ListPurchasableSkusRequest",
"ListPurchasableSkusResponse",
"ListReportsRequest",
"ListReportsResponse",
"ListSkusRequest",
"ListSkusResponse",
"ListSubscribersRequest",
Expand Down Expand Up @@ -229,9 +257,17 @@
"RegisterSubscriberRequest",
"RegisterSubscriberResponse",
"RenewalSettings",
"Report",
"ReportJob",
"ReportResultsMetadata",
"ReportStatus",
"ReportValue",
"RepricingAdjustment",
"RepricingConfig",
"ResourceType",
"Row",
"RunReportJobRequest",
"RunReportJobResponse",
"Sku",
"StartPaidServiceRequest",
"SubscriberEvent",
Expand Down
44 changes: 44 additions & 0 deletions google/cloud/channel_v1/gapic_metadata.json
Expand Up @@ -5,6 +5,50 @@
"protoPackage": "google.cloud.channel.v1",
"schema": "1.0",
"services": {
"CloudChannelReportsService": {
"clients": {
"grpc": {
"libraryClient": "CloudChannelReportsServiceClient",
"rpcs": {
"FetchReportResults": {
"methods": [
"fetch_report_results"
]
},
"ListReports": {
"methods": [
"list_reports"
]
},
"RunReportJob": {
"methods": [
"run_report_job"
]
}
}
},
"grpc-async": {
"libraryClient": "CloudChannelReportsServiceAsyncClient",
"rpcs": {
"FetchReportResults": {
"methods": [
"fetch_report_results"
]
},
"ListReports": {
"methods": [
"list_reports"
]
},
"RunReportJob": {
"methods": [
"run_report_job"
]
}
}
}
}
},
"CloudChannelService": {
"clients": {
"grpc": {
Expand Down
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from .async_client import CloudChannelReportsServiceAsyncClient
from .client import CloudChannelReportsServiceClient

__all__ = (
"CloudChannelReportsServiceClient",
"CloudChannelReportsServiceAsyncClient",
)

0 comments on commit 347ed65

Please sign in to comment.