Class protos.google.analytics.data.v1alpha.AlphaAnalyticsData (3.2.1)

Represents an AlphaAnalyticsData

Inheritance

$protobuf.rpc.Service > protos.google.analytics.data.v1alpha.AlphaAnalyticsData

Package

@google-analytics/data

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new AlphaAnalyticsData 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): AlphaAnalyticsData;

Creates new AlphaAnalyticsData 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
AlphaAnalyticsData

RPC service. Useful where requests and/or responses are streamed.

runFunnelReport(request, callback)

public runFunnelReport(request: google.analytics.data.v1alpha.IRunFunnelReportRequest, callback: google.analytics.data.v1alpha.AlphaAnalyticsData.RunFunnelReportCallback): void;

Calls RunFunnelReport.

Parameters
NameDescription
request google.analytics.data.v1alpha.IRunFunnelReportRequest

RunFunnelReportRequest message or plain object

callback google.analytics.data.v1alpha.AlphaAnalyticsData.RunFunnelReportCallback

Node-style callback called with the error, if any, and RunFunnelReportResponse

Returns
TypeDescription
void

runFunnelReport(request)

public runFunnelReport(request: google.analytics.data.v1alpha.IRunFunnelReportRequest): Promise<google.analytics.data.v1alpha.RunFunnelReportResponse>;

Calls RunFunnelReport.

Parameter
NameDescription
request google.analytics.data.v1alpha.IRunFunnelReportRequest

RunFunnelReportRequest message or plain object

Returns
TypeDescription
Promise<google.analytics.data.v1alpha.RunFunnelReportResponse>

Promise