Class protos.google.cloud.channel.v1.CloudChannelReportsService (2.5.1)

Represents a CloudChannelReportsService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.channel.v1.CloudChannelReportsService

Package

@google-cloud/channel

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new CloudChannelReportsService service.

Parameters
NameDescription
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
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

fetchReportResults(request)

public fetchReportResults(request: google.cloud.channel.v1.IFetchReportResultsRequest): Promise<google.cloud.channel.v1.FetchReportResultsResponse>;

Calls FetchReportResults.

Parameter
NameDescription
request IFetchReportResultsRequest

FetchReportResultsRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

listReports(request)

public listReports(request: google.cloud.channel.v1.IListReportsRequest): Promise<google.cloud.channel.v1.ListReportsResponse>;

Calls ListReports.

Parameter
NameDescription
request IListReportsRequest

ListReportsRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

runReportJob(request)

public runReportJob(request: google.cloud.channel.v1.IRunReportJobRequest): Promise<google.longrunning.Operation>;

Calls RunReportJob.

Parameter
NameDescription
request IRunReportJobRequest

RunReportJobRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise