Package com.google.cloud.channel.v1
Class CloudChannelReportsServiceGrpc.CloudChannelReportsServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<CloudChannelReportsServiceGrpc.CloudChannelReportsServiceBlockingStub>
-
- com.google.cloud.channel.v1.CloudChannelReportsServiceGrpc.CloudChannelReportsServiceBlockingStub
-
- Enclosing class:
- CloudChannelReportsServiceGrpc
public static final class CloudChannelReportsServiceGrpc.CloudChannelReportsServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<CloudChannelReportsServiceGrpc.CloudChannelReportsServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service CloudChannelReportsService.CloudChannelReportsService lets Google Cloud resellers and distributors retrieve and combine a variety of data in Cloud Channel for multiple products (Google Cloud, Google Voice, and Google Workspace.)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CloudChannelReportsServiceGrpc.CloudChannelReportsServiceBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
FetchReportResultsResponse
fetchReportResults(FetchReportResultsRequest request)
Retrieves data generated by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].ListReportsResponse
listReports(ListReportsRequest request)
Lists the reports that RunReportJob can run.com.google.longrunning.Operation
runReportJob(RunReportJobRequest request)
Begins generation of data for a given report.
-
-
-
Method Detail
-
build
protected CloudChannelReportsServiceGrpc.CloudChannelReportsServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<CloudChannelReportsServiceGrpc.CloudChannelReportsServiceBlockingStub>
-
runReportJob
public com.google.longrunning.Operation runReportJob(RunReportJobRequest request)
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][google.cloud.channel.v1.OperationMetadata]. To get the results of report generation, call [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] with the [RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job].
-
fetchReportResults
public FetchReportResultsResponse fetchReportResults(FetchReportResultsRequest request)
Retrieves data generated by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
-
listReports
public ListReportsResponse listReports(ListReportsRequest request)
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.
-
-