Represents a CloudChannelReportsService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.channel.v1.CloudChannelReportsServicePackage
@google-cloud/channelConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new CloudChannelReportsService service.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CloudChannelReportsService;
Creates new CloudChannelReportsService service using the specified rpc implementation.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
CloudChannelReportsService | RPC service. Useful where requests and/or responses are streamed. |
fetchReportResults(request, callback)
public fetchReportResults(request: google.cloud.channel.v1.IFetchReportResultsRequest, callback: google.cloud.channel.v1.CloudChannelReportsService.FetchReportResultsCallback): void;
Calls FetchReportResults.
Parameters | |
---|---|
Name | Description |
request |
IFetchReportResultsRequest
FetchReportResultsRequest message or plain object |
callback |
google.cloud.channel.v1.CloudChannelReportsService.FetchReportResultsCallback
Node-style callback called with the error, if any, and FetchReportResultsResponse |
Returns | |
---|---|
Type | Description |
void |
fetchReportResults(request)
public fetchReportResults(request: google.cloud.channel.v1.IFetchReportResultsRequest): Promise<google.cloud.channel.v1.FetchReportResultsResponse>;
Calls FetchReportResults.
Parameter | |
---|---|
Name | Description |
request |
IFetchReportResultsRequest
FetchReportResultsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.channel.v1.FetchReportResultsResponse> | Promise |
listReports(request, callback)
public listReports(request: google.cloud.channel.v1.IListReportsRequest, callback: google.cloud.channel.v1.CloudChannelReportsService.ListReportsCallback): void;
Calls ListReports.
Parameters | |
---|---|
Name | Description |
request |
IListReportsRequest
ListReportsRequest message or plain object |
callback |
google.cloud.channel.v1.CloudChannelReportsService.ListReportsCallback
Node-style callback called with the error, if any, and ListReportsResponse |
Returns | |
---|---|
Type | Description |
void |
listReports(request)
public listReports(request: google.cloud.channel.v1.IListReportsRequest): Promise<google.cloud.channel.v1.ListReportsResponse>;
Calls ListReports.
Parameter | |
---|---|
Name | Description |
request |
IListReportsRequest
ListReportsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.channel.v1.ListReportsResponse> | Promise |
runReportJob(request, callback)
public runReportJob(request: google.cloud.channel.v1.IRunReportJobRequest, callback: google.cloud.channel.v1.CloudChannelReportsService.RunReportJobCallback): void;
Calls RunReportJob.
Parameters | |
---|---|
Name | Description |
request |
IRunReportJobRequest
RunReportJobRequest message or plain object |
callback |
google.cloud.channel.v1.CloudChannelReportsService.RunReportJobCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
runReportJob(request)
public runReportJob(request: google.cloud.channel.v1.IRunReportJobRequest): Promise<google.longrunning.Operation>;
Calls RunReportJob.
Parameter | |
---|---|
Name | Description |
request |
IRunReportJobRequest
RunReportJobRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |