public static final class CloudChannelReportsServiceGrpc.CloudChannelReportsServiceBlockingStub extends 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.)
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
CloudChannelReportsServiceGrpc.CloudChannelReportsServiceBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected CloudChannelReportsServiceGrpc.CloudChannelReportsServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters |
---|
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
fetchReportResults(FetchReportResultsRequest request)
public FetchReportResultsResponse fetchReportResults(FetchReportResultsRequest request)
Retrieves data generated by
CloudChannelReportsService.RunReportJob.
listReports(ListReportsRequest request)
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.
runReportJob(RunReportJobRequest request)
public 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.
To get the results of report generation, call
CloudChannelReportsService.FetchReportResults
with the
RunReportJobResponse.report_job.