|
|
|
@ -35,8 +35,7 @@ option java_package = "com.google.cloud.channel.v1"; |
|
|
|
|
|
|
|
|
|
// CloudChannelReportsService lets Google Cloud resellers and |
|
|
|
|
// distributors retrieve and combine a variety of data in Cloud Channel for |
|
|
|
|
// multiple products (Google Cloud Platform (GCP), Google Voice, and |
|
|
|
|
// Google Workspace.) |
|
|
|
|
// multiple products (Google Cloud, Google Voice, and Google Workspace.) |
|
|
|
|
service CloudChannelReportsService { |
|
|
|
|
option (google.api.default_host) = "cloudchannel.googleapis.com"; |
|
|
|
|
option (google.api.oauth_scopes) = |
|
|
|
@ -179,6 +178,10 @@ message FetchReportResultsRequest { |
|
|
|
|
// [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] |
|
|
|
|
// call. |
|
|
|
|
string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; |
|
|
|
|
|
|
|
|
|
// Optional. List of keys specifying which report partitions to return. |
|
|
|
|
// If empty, returns all partitions. |
|
|
|
|
repeated string partition_keys = 4 [(google.api.field_behavior) = OPTIONAL]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Response message for |
|
|
|
@ -341,15 +344,14 @@ message DateRange { |
|
|
|
|
|
|
|
|
|
// The earliest invoice date (inclusive). |
|
|
|
|
// |
|
|
|
|
// If your product uses monthly invoices, and this value is not the beginning |
|
|
|
|
// of a month, this will adjust the date to the first day of the given month. |
|
|
|
|
// If this value is not the first day of a month, this will move it back to |
|
|
|
|
// the first day of the given month. |
|
|
|
|
google.type.Date invoice_start_date = 3; |
|
|
|
|
|
|
|
|
|
// The latest invoice date (exclusive). |
|
|
|
|
// The latest invoice date (inclusive). |
|
|
|
|
// |
|
|
|
|
// If your product uses monthly invoices, and this value is not the beginning |
|
|
|
|
// of a month, this will adjust the date to the first day of the following |
|
|
|
|
// month. |
|
|
|
|
// If this value is not the last day of a month, this will move it forward to |
|
|
|
|
// the last day of the given month. |
|
|
|
|
google.type.Date invoice_end_date = 4; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -357,6 +359,10 @@ message DateRange { |
|
|
|
|
message Row { |
|
|
|
|
// The list of values in the row. |
|
|
|
|
repeated ReportValue values = 1; |
|
|
|
|
|
|
|
|
|
// The key for the partition this row belongs to. This field is empty |
|
|
|
|
// if the report is not partitioned. |
|
|
|
|
string partition_key = 2; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// A single report value. |
|
|
|
@ -417,7 +423,8 @@ message ReportStatus { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// The ID and description of a report that was used to generate report data. |
|
|
|
|
// For example, "GCP Daily Spend", "Google Workspace License Activity", etc. |
|
|
|
|
// For example, "Google Cloud Daily Spend", "Google Workspace License Activity", |
|
|
|
|
// etc. |
|
|
|
|
message Report { |
|
|
|
|
option (google.api.resource) = { |
|
|
|
|
type: "cloudchannel.googleapis.com/Report" |
|
|
|
|