AlphaAnalyticsData

google.analytics.data.v1alpha. AlphaAnalyticsData

Represents an AlphaAnalyticsData

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.

batchRunPivotReports(request, callback) → {undefined}

Calls BatchRunPivotReports.

Parameters:
Name Type Description
request google.analytics.data.v1alpha.IBatchRunPivotReportsRequest

BatchRunPivotReportsRequest message or plain object

callback google.analytics.data.v1alpha.AlphaAnalyticsData.BatchRunPivotReportsCallback

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

Returns:
Type Description
undefined

batchRunPivotReports(request) → {Promise.<google.analytics.data.v1alpha.BatchRunPivotReportsResponse>}

Calls BatchRunPivotReports.

Parameters:
Name Type Description
request google.analytics.data.v1alpha.IBatchRunPivotReportsRequest

BatchRunPivotReportsRequest message or plain object

Returns:
Type Description
Promise.<google.analytics.data.v1alpha.BatchRunPivotReportsResponse>

Promise

batchRunReports(request, callback) → {undefined}

Calls BatchRunReports.

Parameters:
Name Type Description
request google.analytics.data.v1alpha.IBatchRunReportsRequest

BatchRunReportsRequest message or plain object

callback google.analytics.data.v1alpha.AlphaAnalyticsData.BatchRunReportsCallback

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

Returns:
Type Description
undefined

batchRunReports(request) → {Promise.<google.analytics.data.v1alpha.BatchRunReportsResponse>}

Calls BatchRunReports.

Parameters:
Name Type Description
request google.analytics.data.v1alpha.IBatchRunReportsRequest

BatchRunReportsRequest message or plain object

Returns:
Type Description
Promise.<google.analytics.data.v1alpha.BatchRunReportsResponse>

Promise

getMetadata(request, callback) → {undefined}

Calls GetMetadata.

Parameters:
Name Type Description
request google.analytics.data.v1alpha.IGetMetadataRequest

GetMetadataRequest message or plain object

callback google.analytics.data.v1alpha.AlphaAnalyticsData.GetMetadataCallback

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

Returns:
Type Description
undefined

getMetadata(request) → {Promise.<google.analytics.data.v1alpha.Metadata>}

Calls GetMetadata.

Parameters:
Name Type Description
request google.analytics.data.v1alpha.IGetMetadataRequest

GetMetadataRequest message or plain object

Returns:
Type Description
Promise.<google.analytics.data.v1alpha.Metadata>

Promise

runPivotReport(request, callback) → {undefined}

Calls RunPivotReport.

Parameters:
Name Type Description
request google.analytics.data.v1alpha.IRunPivotReportRequest

RunPivotReportRequest message or plain object

callback google.analytics.data.v1alpha.AlphaAnalyticsData.RunPivotReportCallback

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

Returns:
Type Description
undefined

runPivotReport(request) → {Promise.<google.analytics.data.v1alpha.RunPivotReportResponse>}

Calls RunPivotReport.

Parameters:
Name Type Description
request google.analytics.data.v1alpha.IRunPivotReportRequest

RunPivotReportRequest message or plain object

Returns:
Type Description
Promise.<google.analytics.data.v1alpha.RunPivotReportResponse>

Promise

runRealtimeReport(request, callback) → {undefined}

Calls RunRealtimeReport.

Parameters:
Name Type Description
request google.analytics.data.v1alpha.IRunRealtimeReportRequest

RunRealtimeReportRequest message or plain object

callback google.analytics.data.v1alpha.AlphaAnalyticsData.RunRealtimeReportCallback

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

Returns:
Type Description
undefined

runRealtimeReport(request) → {Promise.<google.analytics.data.v1alpha.RunRealtimeReportResponse>}

Calls RunRealtimeReport.

Parameters:
Name Type Description
request google.analytics.data.v1alpha.IRunRealtimeReportRequest

RunRealtimeReportRequest message or plain object

Returns:
Type Description
Promise.<google.analytics.data.v1alpha.RunRealtimeReportResponse>

Promise

runReport(request, callback) → {undefined}

Calls RunReport.

Parameters:
Name Type Description
request google.analytics.data.v1alpha.IRunReportRequest

RunReportRequest message or plain object

callback google.analytics.data.v1alpha.AlphaAnalyticsData.RunReportCallback

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

Returns:
Type Description
undefined

runReport(request) → {Promise.<google.analytics.data.v1alpha.RunReportResponse>}

Calls RunReport.

Parameters:
Name Type Description
request google.analytics.data.v1alpha.IRunReportRequest

RunReportRequest message or plain object

Returns:
Type Description
Promise.<google.analytics.data.v1alpha.RunReportResponse>

Promise

Type Definitions

BatchRunPivotReportsCallback(error, responseopt)

Callback as used by google.analytics.data.v1alpha.AlphaAnalyticsData#batchRunPivotReports.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.analytics.data.v1alpha.BatchRunPivotReportsResponse <optional>

BatchRunPivotReportsResponse

BatchRunReportsCallback(error, responseopt)

Callback as used by google.analytics.data.v1alpha.AlphaAnalyticsData#batchRunReports.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.analytics.data.v1alpha.BatchRunReportsResponse <optional>

BatchRunReportsResponse

GetMetadataCallback(error, responseopt)

Callback as used by google.analytics.data.v1alpha.AlphaAnalyticsData#getMetadata.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.analytics.data.v1alpha.Metadata <optional>

Metadata

RunPivotReportCallback(error, responseopt)

Callback as used by google.analytics.data.v1alpha.AlphaAnalyticsData#runPivotReport.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.analytics.data.v1alpha.RunPivotReportResponse <optional>

RunPivotReportResponse

RunRealtimeReportCallback(error, responseopt)

Callback as used by google.analytics.data.v1alpha.AlphaAnalyticsData#runRealtimeReport.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.analytics.data.v1alpha.RunRealtimeReportResponse <optional>

RunRealtimeReportResponse

RunReportCallback(error, responseopt)

Callback as used by google.analytics.data.v1alpha.AlphaAnalyticsData#runReport.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.analytics.data.v1alpha.RunReportResponse <optional>

RunReportResponse