Class CloudChannelReportsServiceGrpc.CloudChannelReportsServiceStub (3.35.0)

public static final class CloudChannelReportsServiceGrpc.CloudChannelReportsServiceStub extends AbstractAsyncStub<CloudChannelReportsServiceGrpc.CloudChannelReportsServiceStub>

A stub to allow clients to do asynchronous 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.)

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > CloudChannelReportsServiceGrpc.CloudChannelReportsServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected CloudChannelReportsServiceGrpc.CloudChannelReportsServiceStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
CloudChannelReportsServiceGrpc.CloudChannelReportsServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

fetchReportResults(FetchReportResultsRequest request, StreamObserver<FetchReportResultsResponse> responseObserver)

public void fetchReportResults(FetchReportResultsRequest request, StreamObserver<FetchReportResultsResponse> responseObserver)

Retrieves data generated by CloudChannelReportsService.RunReportJob.

Parameters
NameDescription
requestFetchReportResultsRequest
responseObserverio.grpc.stub.StreamObserver<FetchReportResultsResponse>

listReports(ListReportsRequest request, StreamObserver<ListReportsResponse> responseObserver)

public void listReports(ListReportsRequest request, StreamObserver<ListReportsResponse> responseObserver)

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.

Parameters
NameDescription
requestListReportsRequest
responseObserverio.grpc.stub.StreamObserver<ListReportsResponse>

runReportJob(RunReportJobRequest request, StreamObserver<Operation> responseObserver)

public void runReportJob(RunReportJobRequest request, StreamObserver<Operation> responseObserver)

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.
Parameters
NameDescription
requestRunReportJobRequest
responseObserverio.grpc.stub.StreamObserver<Operation>