Skip to content

Commit

Permalink
feat(cloudchannel): update the api
Browse files Browse the repository at this point in the history
#### cloudchannel:v1

The following keys were added:
- resources.accounts.resources.reportJobs (Total Keys: 2)
- resources.accounts.resources.reports (Total Keys: 3)
- schemas.GoogleCloudChannelV1Column.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1DateRange.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1FetchReportResultsRequest.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1FetchReportResultsResponse.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1ListReportsResponse.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1Report.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1ReportJob.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1ReportResultsMetadata.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1ReportStatus.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1ReportValue.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1Row.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1RunReportJobRequest.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1RunReportJobResponse.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1alpha1Column.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1alpha1DateRange.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1alpha1Report.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1alpha1ReportJob.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1alpha1ReportResultsMetadata.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1alpha1ReportStatus.deprecated (Total Keys: 1)
- schemas.GoogleCloudChannelV1alpha1RunReportJobResponse.deprecated (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Jan 4, 2024
1 parent e4026be commit 49958ae
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/dyn/cloudchannel_v1.accounts.reportJobs.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h2>Instance Methods</h2>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#fetchReportResults">fetchReportResults(reportJob, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves data generated by CloudChannelReportsService.RunReportJob.</p>
<p class="firstline">Retrieves data generated by CloudChannelReportsService.RunReportJob. Deprecated: Please use [Export Channel Services data to BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.</p>
<p class="toc_element">
<code><a href="#fetchReportResults_next">fetchReportResults_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
Expand All @@ -91,7 +91,7 @@ <h3>Method Details</h3>

<div class="method">
<code class="details" id="fetchReportResults">fetchReportResults(reportJob, body=None, x__xgafv=None)</code>
<pre>Retrieves data generated by CloudChannelReportsService.RunReportJob.
<pre>Retrieves data generated by CloudChannelReportsService.RunReportJob. Deprecated: Please use [Export Channel Services data to BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.

Args:
reportJob: string, Required. The report job created by CloudChannelReportsService.RunReportJob. Report_job uses the format: accounts/{account_id}/reportJobs/{report_job_id} (required)
Expand Down
8 changes: 4 additions & 4 deletions docs/dyn/cloudchannel_v1.accounts.reports.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ <h2>Instance Methods</h2>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#list">list(parent, languageCode=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists the reports that RunReportJob can run. These reports include an ID, a description, and the list of columns that will be in the result.</p>
<p class="firstline">Lists the reports that RunReportJob can run. These reports include an ID, a description, and the list of columns that will be in the result. Deprecated: Please use [Export Channel Services data to BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.</p>
<p class="toc_element">
<code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#run">run(name, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Begins generation of data for a given report. The report identifier is a UID (for example, `613bf59q`). Possible error codes: * PERMISSION_DENIED: The user doesn't have access to this report. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The report identifier was not found. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata. To get the results of report generation, call CloudChannelReportsService.FetchReportResults with the RunReportJobResponse.report_job.</p>
<p class="firstline">Begins generation of data for a given report. The report identifier is a UID (for example, `613bf59q`). Possible error codes: * PERMISSION_DENIED: The user doesn't have access to this report. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The report identifier was not found. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata. To get the results of report generation, call CloudChannelReportsService.FetchReportResults with the RunReportJobResponse.report_job. Deprecated: Please use [Export Channel Services data to BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
Expand All @@ -94,7 +94,7 @@ <h3>Method Details</h3>

<div class="method">
<code class="details" id="list">list(parent, languageCode=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
<pre>Lists the reports that RunReportJob can run. These reports include an ID, a description, and the list of columns that will be in the result.
<pre>Lists the reports that RunReportJob can run. These reports include an ID, a description, and the list of columns that will be in the result. Deprecated: Please use [Export Channel Services data to BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.

Args:
parent: string, Required. The resource name of the partner account to list available reports for. Parent uses the format: accounts/{account_id} (required)
Expand Down Expand Up @@ -144,7 +144,7 @@ <h3>Method Details</h3>

<div class="method">
<code class="details" id="run">run(name, body=None, x__xgafv=None)</code>
<pre>Begins generation of data for a given report. The report identifier is a UID (for example, `613bf59q`). Possible error codes: * PERMISSION_DENIED: The user doesn&#x27;t have access to this report. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The report identifier was not found. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata. To get the results of report generation, call CloudChannelReportsService.FetchReportResults with the RunReportJobResponse.report_job.
<pre>Begins generation of data for a given report. The report identifier is a UID (for example, `613bf59q`). Possible error codes: * PERMISSION_DENIED: The user doesn&#x27;t have access to this report. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The report identifier was not found. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata. To get the results of report generation, call CloudChannelReportsService.FetchReportResults with the RunReportJobResponse.report_job. Deprecated: Please use [Export Channel Services data to BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.

Args:
name: string, Required. The report&#x27;s resource name. Specifies the account and report used to generate report data. The report_id identifier is a UID (for example, `613bf59q`). Name uses the format: accounts/{account_id}/reports/{report_id} (required)
Expand Down
33 changes: 29 additions & 4 deletions googleapiclient/discovery_cache/documents/cloudchannel.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1773,9 +1773,11 @@
}
},
"reportJobs": {
"deprecated": true,
"methods": {
"fetchReportResults": {
"description": "Retrieves data generated by CloudChannelReportsService.RunReportJob.",
"deprecated": true,
"description": "Retrieves data generated by CloudChannelReportsService.RunReportJob. Deprecated: Please use [Export Channel Services data to BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.",
"flatPath": "v1/accounts/{accountsId}/reportJobs/{reportJobsId}:fetchReportResults",
"httpMethod": "POST",
"id": "cloudchannel.accounts.reportJobs.fetchReportResults",
Expand Down Expand Up @@ -1805,9 +1807,11 @@
}
},
"reports": {
"deprecated": true,
"methods": {
"list": {
"description": "Lists the reports that RunReportJob can run. These reports include an ID, a description, and the list of columns that will be in the result.",
"deprecated": true,
"description": "Lists the reports that RunReportJob can run. These reports include an ID, a description, and the list of columns that will be in the result. Deprecated: Please use [Export Channel Services data to BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.",
"flatPath": "v1/accounts/{accountsId}/reports",
"httpMethod": "GET",
"id": "cloudchannel.accounts.reports.list",
Expand Down Expand Up @@ -1848,7 +1852,8 @@
]
},
"run": {
"description": "Begins generation of data for a given report. The report identifier is a UID (for example, `613bf59q`). Possible error codes: * PERMISSION_DENIED: The user doesn't have access to this report. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The report identifier was not found. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata. To get the results of report generation, call CloudChannelReportsService.FetchReportResults with the RunReportJobResponse.report_job.",
"deprecated": true,
"description": "Begins generation of data for a given report. The report identifier is a UID (for example, `613bf59q`). Possible error codes: * PERMISSION_DENIED: The user doesn't have access to this report. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The report identifier was not found. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata. To get the results of report generation, call CloudChannelReportsService.FetchReportResults with the RunReportJobResponse.report_job. Deprecated: Please use [Export Channel Services data to BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.",
"flatPath": "v1/accounts/{accountsId}/reports/{reportsId}:run",
"httpMethod": "POST",
"id": "cloudchannel.accounts.reports.run",
Expand Down Expand Up @@ -2178,7 +2183,7 @@
}
}
},
"revision": "20231210",
"revision": "20240102",
"rootUrl": "https://cloudchannel.googleapis.com/",
"schemas": {
"GoogleCloudChannelV1ActivateEntitlementRequest": {
Expand Down Expand Up @@ -2550,6 +2555,7 @@
"type": "object"
},
"GoogleCloudChannelV1Column": {
"deprecated": true,
"description": "The definition of a report column. Specifies the data properties in the corresponding position of the report rows.",
"id": "GoogleCloudChannelV1Column",
"properties": {
Expand Down Expand Up @@ -2860,6 +2866,7 @@
"type": "object"
},
"GoogleCloudChannelV1DateRange": {
"deprecated": true,
"description": "A representation of usage or invoice date ranges.",
"id": "GoogleCloudChannelV1DateRange",
"properties": {
Expand Down Expand Up @@ -3226,6 +3233,7 @@
"type": "object"
},
"GoogleCloudChannelV1FetchReportResultsRequest": {
"deprecated": true,
"description": "Request message for CloudChannelReportsService.FetchReportResults.",
"id": "GoogleCloudChannelV1FetchReportResultsRequest",
"properties": {
Expand All @@ -3249,6 +3257,7 @@
"type": "object"
},
"GoogleCloudChannelV1FetchReportResultsResponse": {
"deprecated": true,
"description": "Response message for CloudChannelReportsService.FetchReportResults. Contains a tabular representation of the report results.",
"id": "GoogleCloudChannelV1FetchReportResultsResponse",
"properties": {
Expand Down Expand Up @@ -3482,6 +3491,7 @@
"type": "object"
},
"GoogleCloudChannelV1ListReportsResponse": {
"deprecated": true,
"description": "Response message for CloudChannelReportsService.ListReports.",
"id": "GoogleCloudChannelV1ListReportsResponse",
"properties": {
Expand Down Expand Up @@ -4265,6 +4275,7 @@
"type": "object"
},
"GoogleCloudChannelV1Report": {
"deprecated": true,
"description": "The ID and description of a report that was used to generate report data. For example, \"Google Cloud Daily Spend\", \"Google Workspace License Activity\", etc.",
"id": "GoogleCloudChannelV1Report",
"properties": {
Expand All @@ -4291,6 +4302,7 @@
"type": "object"
},
"GoogleCloudChannelV1ReportJob": {
"deprecated": true,
"description": "The result of a RunReportJob operation. Contains the name to use in FetchReportResultsRequest.report_job and the status of the operation.",
"id": "GoogleCloudChannelV1ReportJob",
"properties": {
Expand All @@ -4306,6 +4318,7 @@
"type": "object"
},
"GoogleCloudChannelV1ReportResultsMetadata": {
"deprecated": true,
"description": "The features describing the data. Returned by CloudChannelReportsService.RunReportJob and CloudChannelReportsService.FetchReportResults.",
"id": "GoogleCloudChannelV1ReportResultsMetadata",
"properties": {
Expand All @@ -4330,6 +4343,7 @@
"type": "object"
},
"GoogleCloudChannelV1ReportStatus": {
"deprecated": true,
"description": "Status of a report generation process.",
"id": "GoogleCloudChannelV1ReportStatus",
"properties": {
Expand Down Expand Up @@ -4365,6 +4379,7 @@
"type": "object"
},
"GoogleCloudChannelV1ReportValue": {
"deprecated": true,
"description": "A single report value.",
"id": "GoogleCloudChannelV1ReportValue",
"properties": {
Expand Down Expand Up @@ -4482,6 +4497,7 @@
"type": "object"
},
"GoogleCloudChannelV1Row": {
"deprecated": true,
"description": "A row of report values.",
"id": "GoogleCloudChannelV1Row",
"properties": {
Expand All @@ -4500,6 +4516,7 @@
"type": "object"
},
"GoogleCloudChannelV1RunReportJobRequest": {
"deprecated": true,
"description": "Request message for CloudChannelReportsService.RunReportJob.",
"id": "GoogleCloudChannelV1RunReportJobRequest",
"properties": {
Expand All @@ -4519,6 +4536,7 @@
"type": "object"
},
"GoogleCloudChannelV1RunReportJobResponse": {
"deprecated": true,
"description": "Response message for CloudChannelReportsService.RunReportJob.",
"id": "GoogleCloudChannelV1RunReportJobResponse",
"properties": {
Expand Down Expand Up @@ -4877,6 +4895,7 @@
"type": "object"
},
"GoogleCloudChannelV1alpha1Column": {
"deprecated": true,
"description": "The definition of a report column. Specifies the data properties in the corresponding position of the report rows.",
"id": "GoogleCloudChannelV1alpha1Column",
"properties": {
Expand Down Expand Up @@ -4962,6 +4981,7 @@
"type": "object"
},
"GoogleCloudChannelV1alpha1DateRange": {
"deprecated": true,
"description": "A representation of usage or invoice date ranges.",
"id": "GoogleCloudChannelV1alpha1DateRange",
"properties": {
Expand Down Expand Up @@ -5346,6 +5366,7 @@
"type": "object"
},
"GoogleCloudChannelV1alpha1Report": {
"deprecated": true,
"description": "The ID and description of a report that was used to generate report data. For example, \"Google Cloud Daily Spend\", \"Google Workspace License Activity\", etc.",
"id": "GoogleCloudChannelV1alpha1Report",
"properties": {
Expand All @@ -5372,6 +5393,7 @@
"type": "object"
},
"GoogleCloudChannelV1alpha1ReportJob": {
"deprecated": true,
"description": "The result of a RunReportJob operation. Contains the name to use in FetchReportResultsRequest.report_job and the status of the operation.",
"id": "GoogleCloudChannelV1alpha1ReportJob",
"properties": {
Expand All @@ -5387,6 +5409,7 @@
"type": "object"
},
"GoogleCloudChannelV1alpha1ReportResultsMetadata": {
"deprecated": true,
"description": "The features describing the data. Returned by CloudChannelReportsService.RunReportJob and CloudChannelReportsService.FetchReportResults.",
"id": "GoogleCloudChannelV1alpha1ReportResultsMetadata",
"properties": {
Expand All @@ -5411,6 +5434,7 @@
"type": "object"
},
"GoogleCloudChannelV1alpha1ReportStatus": {
"deprecated": true,
"description": "Status of a report generation process.",
"id": "GoogleCloudChannelV1alpha1ReportStatus",
"properties": {
Expand Down Expand Up @@ -5446,6 +5470,7 @@
"type": "object"
},
"GoogleCloudChannelV1alpha1RunReportJobResponse": {
"deprecated": true,
"description": "Response message for CloudChannelReportsService.RunReportJob.",
"id": "GoogleCloudChannelV1alpha1RunReportJobResponse",
"properties": {
Expand Down

0 comments on commit 49958ae

Please sign in to comment.