Constructor
new AlphaAnalyticsData(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new AlphaAnalyticsData service.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {AlphaAnalyticsData}
Creates new AlphaAnalyticsData service using the specified rpc implementation.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
Type | Description |
---|---|
AlphaAnalyticsData |
RPC service. Useful where requests and/or responses are streamed. |
runFunnelReport(request, callback) → {undefined}
Calls RunFunnelReport.
Parameters:
Name | Type | 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 |
---|---|
undefined |
runFunnelReport(request) → {Promise.<google.analytics.data.v1alpha.RunFunnelReportResponse>}
Calls RunFunnelReport.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.analytics.data.v1alpha.IRunFunnelReportRequest |
RunFunnelReportRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.analytics.data.v1alpha.RunFunnelReportResponse> |
Promise |
Type Definitions
RunFunnelReportCallback(error, responseopt)
Callback as used by runFunnelReport.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.analytics.data.v1alpha.RunFunnelReportResponse |
<optional> |
RunFunnelReportResponse |