Represents an AlphaAnalyticsData
Inheritance
$protobuf.rpc.Service > protos.google.analytics.data.v1alpha.AlphaAnalyticsDataPackage
@google-analytics/dataConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new AlphaAnalyticsData 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): AlphaAnalyticsData;
Creates new AlphaAnalyticsData 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 |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
runFunnelReport(request)
public runFunnelReport(request: google.analytics.data.v1alpha.IRunFunnelReportRequest): Promise<google.analytics.data.v1alpha.RunFunnelReportResponse>;
Calls RunFunnelReport.
Parameter | |
---|---|
Name | Description |
request |
google.analytics.data.v1alpha.IRunFunnelReportRequest
RunFunnelReportRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.analytics.data.v1alpha.RunFunnelReportResponse> | Promise |