Skip to content

Commit

Permalink
feat: Add CloudChannelReportsService to CloudChannel API
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 481642499
  • Loading branch information
Google APIs authored and Copybara-Service committed Oct 17, 2022
1 parent e981f84 commit 0c78b0c
Show file tree
Hide file tree
Showing 4 changed files with 440 additions and 5 deletions.
3 changes: 3 additions & 0 deletions google/cloud/channel/v1/BUILD.bazel
Expand Up @@ -29,6 +29,7 @@ proto_library(
"operations.proto",
"products.proto",
"repricing.proto",
"reports_service.proto",
"service.proto",
"subscriber_event.proto",
],
Expand All @@ -39,6 +40,7 @@ proto_library(
"//google/api:resource_proto",
"//google/longrunning:operations_proto",
"//google/type:date_proto",
"//google/type:datetime_proto",
"//google/type:decimal_proto",
"//google/type:money_proto",
"//google/type:postal_address_proto",
Expand Down Expand Up @@ -138,6 +140,7 @@ go_proto_library(
"//google/api:annotations_go_proto",
"//google/longrunning:longrunning_go_proto",
"//google/type:date_go_proto",
"//google/type:datetime_go_proto",
"//google/type:decimal_go_proto",
"//google/type:money_go_proto",
"//google/type:postaladdress_go_proto",
Expand Down
6 changes: 6 additions & 0 deletions google/cloud/channel/v1/cloudchannel_v1.yaml
Expand Up @@ -4,13 +4,15 @@ name: cloudchannel.googleapis.com
title: Cloud Channel API

apis:
- name: google.cloud.channel.v1.CloudChannelReportsService
- name: google.cloud.channel.v1.CloudChannelService
- name: google.longrunning.Operations

types:
- name: google.cloud.channel.v1.CustomerEvent
- name: google.cloud.channel.v1.EntitlementEvent
- name: google.cloud.channel.v1.OperationMetadata
- name: google.cloud.channel.v1.RunReportJobResponse
- name: google.cloud.channel.v1.SubscriberEvent
- name: google.cloud.channel.v1.TransferEntitlementsResponse

Expand All @@ -34,6 +36,10 @@ http:

authentication:
rules:
- selector: 'google.cloud.channel.v1.CloudChannelReportsService.*'
oauth:
canonical_scopes: |-
https://www.googleapis.com/auth/apps.reports.usage.readonly
- selector: 'google.cloud.channel.v1.CloudChannelService.*'
oauth:
canonical_scopes: |-
Expand Down

0 comments on commit 0c78b0c

Please sign in to comment.