43
43
* retrieve and combine a variety of data in Cloud Channel for multiple products (Google Cloud,
44
44
* Google Voice, and Google Workspace.)
45
45
*
46
+ * <p>Deprecated: This service is being deprecated. Please use [Export Channel Services data to
47
+ * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.
48
+ *
46
49
* <p>This class provides the ability to make remote calls to the backing service through method
47
50
* calls that map to API methods. Sample code to get started:
48
51
*
139
142
* }</pre>
140
143
*
141
144
* <p>Please refer to the GitHub repository's samples for more quickstart code snippets.
145
+ *
146
+ * @deprecated This class is deprecated and will be removed in the next major version update.
142
147
*/
148
+ @ Deprecated
143
149
@ Generated ("by gapic-generator-java" )
144
150
public class CloudChannelReportsServiceClient implements BackgroundResource {
145
151
private final CloudChannelReportsServiceSettings settings ;
@@ -245,6 +251,9 @@ public final OperationsClient getHttpJsonOperationsClient() {
245
251
* with the
246
252
* [RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job].
247
253
*
254
+ * <p>Deprecated: Please use [Export Channel Services data to
255
+ * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.
256
+ *
248
257
* <p>Sample code:
249
258
*
250
259
* <pre>{@code
@@ -269,7 +278,9 @@ public final OperationsClient getHttpJsonOperationsClient() {
269
278
*
270
279
* @param request The request object containing all of the parameters for the API call.
271
280
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
281
+ * @deprecated This method is deprecated and will be removed in the next major version update.
272
282
*/
283
+ @ Deprecated
273
284
public final OperationFuture <RunReportJobResponse , OperationMetadata > runReportJobAsync (
274
285
RunReportJobRequest request ) {
275
286
return runReportJobOperationCallable ().futureCall (request );
@@ -303,6 +314,9 @@ public final OperationFuture<RunReportJobResponse, OperationMetadata> runReportJ
303
314
* with the
304
315
* [RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job].
305
316
*
317
+ * <p>Deprecated: Please use [Export Channel Services data to
318
+ * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.
319
+ *
306
320
* <p>Sample code:
307
321
*
308
322
* <pre>{@code
@@ -326,7 +340,10 @@ public final OperationFuture<RunReportJobResponse, OperationMetadata> runReportJ
326
340
* RunReportJobResponse response = future.get();
327
341
* }
328
342
* }</pre>
343
+ *
344
+ * @deprecated This method is deprecated and will be removed in the next major version update.
329
345
*/
346
+ @ Deprecated
330
347
public final OperationCallable <RunReportJobRequest , RunReportJobResponse , OperationMetadata >
331
348
runReportJobOperationCallable () {
332
349
return stub .runReportJobOperationCallable ();
@@ -360,6 +377,9 @@ public final OperationFuture<RunReportJobResponse, OperationMetadata> runReportJ
360
377
* with the
361
378
* [RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job].
362
379
*
380
+ * <p>Deprecated: Please use [Export Channel Services data to
381
+ * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.
382
+ *
363
383
* <p>Sample code:
364
384
*
365
385
* <pre>{@code
@@ -383,7 +403,10 @@ public final OperationFuture<RunReportJobResponse, OperationMetadata> runReportJ
383
403
* Operation response = future.get();
384
404
* }
385
405
* }</pre>
406
+ *
407
+ * @deprecated This method is deprecated and will be removed in the next major version update.
386
408
*/
409
+ @ Deprecated
387
410
public final UnaryCallable <RunReportJobRequest , Operation > runReportJobCallable () {
388
411
return stub .runReportJobCallable ();
389
412
}
@@ -393,6 +416,9 @@ public final UnaryCallable<RunReportJobRequest, Operation> runReportJobCallable(
393
416
* Retrieves data generated by
394
417
* [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
395
418
*
419
+ * <p>Deprecated: Please use [Export Channel Services data to
420
+ * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.
421
+ *
396
422
* <p>Sample code:
397
423
*
398
424
* <pre>{@code
@@ -415,7 +441,9 @@ public final UnaryCallable<RunReportJobRequest, Operation> runReportJobCallable(
415
441
* [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
416
442
* Report_job uses the format: accounts/{account_id}/reportJobs/{report_job_id}
417
443
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
444
+ * @deprecated This method is deprecated and will be removed in the next major version update.
418
445
*/
446
+ @ Deprecated
419
447
public final FetchReportResultsPagedResponse fetchReportResults (ReportJobName reportJob ) {
420
448
FetchReportResultsRequest request =
421
449
FetchReportResultsRequest .newBuilder ()
@@ -429,6 +457,9 @@ public final FetchReportResultsPagedResponse fetchReportResults(ReportJobName re
429
457
* Retrieves data generated by
430
458
* [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
431
459
*
460
+ * <p>Deprecated: Please use [Export Channel Services data to
461
+ * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.
462
+ *
432
463
* <p>Sample code:
433
464
*
434
465
* <pre>{@code
@@ -451,7 +482,9 @@ public final FetchReportResultsPagedResponse fetchReportResults(ReportJobName re
451
482
* [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
452
483
* Report_job uses the format: accounts/{account_id}/reportJobs/{report_job_id}
453
484
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
485
+ * @deprecated This method is deprecated and will be removed in the next major version update.
454
486
*/
487
+ @ Deprecated
455
488
public final FetchReportResultsPagedResponse fetchReportResults (String reportJob ) {
456
489
FetchReportResultsRequest request =
457
490
FetchReportResultsRequest .newBuilder ().setReportJob (reportJob ).build ();
@@ -463,6 +496,9 @@ public final FetchReportResultsPagedResponse fetchReportResults(String reportJob
463
496
* Retrieves data generated by
464
497
* [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
465
498
*
499
+ * <p>Deprecated: Please use [Export Channel Services data to
500
+ * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.
501
+ *
466
502
* <p>Sample code:
467
503
*
468
504
* <pre>{@code
@@ -489,7 +525,9 @@ public final FetchReportResultsPagedResponse fetchReportResults(String reportJob
489
525
*
490
526
* @param request The request object containing all of the parameters for the API call.
491
527
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
528
+ * @deprecated This method is deprecated and will be removed in the next major version update.
492
529
*/
530
+ @ Deprecated
493
531
public final FetchReportResultsPagedResponse fetchReportResults (
494
532
FetchReportResultsRequest request ) {
495
533
return fetchReportResultsPagedCallable ().call (request );
@@ -500,6 +538,9 @@ public final FetchReportResultsPagedResponse fetchReportResults(
500
538
* Retrieves data generated by
501
539
* [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
502
540
*
541
+ * <p>Deprecated: Please use [Export Channel Services data to
542
+ * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.
543
+ *
503
544
* <p>Sample code:
504
545
*
505
546
* <pre>{@code
@@ -525,7 +566,10 @@ public final FetchReportResultsPagedResponse fetchReportResults(
525
566
* }
526
567
* }
527
568
* }</pre>
569
+ *
570
+ * @deprecated This method is deprecated and will be removed in the next major version update.
528
571
*/
572
+ @ Deprecated
529
573
public final UnaryCallable <FetchReportResultsRequest , FetchReportResultsPagedResponse >
530
574
fetchReportResultsPagedCallable () {
531
575
return stub .fetchReportResultsPagedCallable ();
@@ -536,6 +580,9 @@ public final FetchReportResultsPagedResponse fetchReportResults(
536
580
* Retrieves data generated by
537
581
* [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
538
582
*
583
+ * <p>Deprecated: Please use [Export Channel Services data to
584
+ * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.
585
+ *
539
586
* <p>Sample code:
540
587
*
541
588
* <pre>{@code
@@ -568,7 +615,10 @@ public final FetchReportResultsPagedResponse fetchReportResults(
568
615
* }
569
616
* }
570
617
* }</pre>
618
+ *
619
+ * @deprecated This method is deprecated and will be removed in the next major version update.
571
620
*/
621
+ @ Deprecated
572
622
public final UnaryCallable <FetchReportResultsRequest , FetchReportResultsResponse >
573
623
fetchReportResultsCallable () {
574
624
return stub .fetchReportResultsCallable ();
@@ -579,6 +629,9 @@ public final FetchReportResultsPagedResponse fetchReportResults(
579
629
* Lists the reports that RunReportJob can run. These reports include an ID, a description, and
580
630
* the list of columns that will be in the result.
581
631
*
632
+ * <p>Deprecated: Please use [Export Channel Services data to
633
+ * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.
634
+ *
582
635
* <p>Sample code:
583
636
*
584
637
* <pre>{@code
@@ -599,7 +652,9 @@ public final FetchReportResultsPagedResponse fetchReportResults(
599
652
* @param parent Required. The resource name of the partner account to list available reports for.
600
653
* Parent uses the format: accounts/{account_id}
601
654
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
655
+ * @deprecated This method is deprecated and will be removed in the next major version update.
602
656
*/
657
+ @ Deprecated
603
658
public final ListReportsPagedResponse listReports (String parent ) {
604
659
ListReportsRequest request = ListReportsRequest .newBuilder ().setParent (parent ).build ();
605
660
return listReports (request );
@@ -610,6 +665,9 @@ public final ListReportsPagedResponse listReports(String parent) {
610
665
* Lists the reports that RunReportJob can run. These reports include an ID, a description, and
611
666
* the list of columns that will be in the result.
612
667
*
668
+ * <p>Deprecated: Please use [Export Channel Services data to
669
+ * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.
670
+ *
613
671
* <p>Sample code:
614
672
*
615
673
* <pre>{@code
@@ -635,7 +693,9 @@ public final ListReportsPagedResponse listReports(String parent) {
635
693
*
636
694
* @param request The request object containing all of the parameters for the API call.
637
695
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
696
+ * @deprecated This method is deprecated and will be removed in the next major version update.
638
697
*/
698
+ @ Deprecated
639
699
public final ListReportsPagedResponse listReports (ListReportsRequest request ) {
640
700
return listReportsPagedCallable ().call (request );
641
701
}
@@ -645,6 +705,9 @@ public final ListReportsPagedResponse listReports(ListReportsRequest request) {
645
705
* Lists the reports that RunReportJob can run. These reports include an ID, a description, and
646
706
* the list of columns that will be in the result.
647
707
*
708
+ * <p>Deprecated: Please use [Export Channel Services data to
709
+ * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.
710
+ *
648
711
* <p>Sample code:
649
712
*
650
713
* <pre>{@code
@@ -670,7 +733,10 @@ public final ListReportsPagedResponse listReports(ListReportsRequest request) {
670
733
* }
671
734
* }
672
735
* }</pre>
736
+ *
737
+ * @deprecated This method is deprecated and will be removed in the next major version update.
673
738
*/
739
+ @ Deprecated
674
740
public final UnaryCallable <ListReportsRequest , ListReportsPagedResponse >
675
741
listReportsPagedCallable () {
676
742
return stub .listReportsPagedCallable ();
@@ -681,6 +747,9 @@ public final ListReportsPagedResponse listReports(ListReportsRequest request) {
681
747
* Lists the reports that RunReportJob can run. These reports include an ID, a description, and
682
748
* the list of columns that will be in the result.
683
749
*
750
+ * <p>Deprecated: Please use [Export Channel Services data to
751
+ * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.
752
+ *
684
753
* <p>Sample code:
685
754
*
686
755
* <pre>{@code
@@ -713,7 +782,10 @@ public final ListReportsPagedResponse listReports(ListReportsRequest request) {
713
782
* }
714
783
* }
715
784
* }</pre>
785
+ *
786
+ * @deprecated This method is deprecated and will be removed in the next major version update.
716
787
*/
788
+ @ Deprecated
717
789
public final UnaryCallable <ListReportsRequest , ListReportsResponse > listReportsCallable () {
718
790
return stub .listReportsCallable ();
719
791
}
0 commit comments