Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/channel_v1/cloud_channel_reports_service.rst
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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",
)
Loading