Class protos.google.analytics.data.v1beta.BetaAnalyticsData (3.2.1)

Represents a BetaAnalyticsData

Inheritance

$protobuf.rpc.Service > protos.google.analytics.data.v1beta.BetaAnalyticsData

Package

@google-analytics/data

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new BetaAnalyticsData service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

batchRunPivotReports(request, callback)

public batchRunPivotReports(request: google.analytics.data.v1beta.IBatchRunPivotReportsRequest, callback: google.analytics.data.v1beta.BetaAnalyticsData.BatchRunPivotReportsCallback): void;

Calls BatchRunPivotReports.

Parameters
NameDescription
request IBatchRunPivotReportsRequest

BatchRunPivotReportsRequest message or plain object

callback google.analytics.data.v1beta.BetaAnalyticsData.BatchRunPivotReportsCallback

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

Returns
TypeDescription
void

batchRunPivotReports(request)

public batchRunPivotReports(request: google.analytics.data.v1beta.IBatchRunPivotReportsRequest): Promise<google.analytics.data.v1beta.BatchRunPivotReportsResponse>;

Calls BatchRunPivotReports.

Parameter
NameDescription
request IBatchRunPivotReportsRequest

BatchRunPivotReportsRequest message or plain object

Returns
TypeDescription
Promise<google.analytics.data.v1beta.BatchRunPivotReportsResponse>

Promise

batchRunReports(request, callback)

public batchRunReports(request: google.analytics.data.v1beta.IBatchRunReportsRequest, callback: google.analytics.data.v1beta.BetaAnalyticsData.BatchRunReportsCallback): void;

Calls BatchRunReports.

Parameters
NameDescription
request IBatchRunReportsRequest

BatchRunReportsRequest message or plain object

callback google.analytics.data.v1beta.BetaAnalyticsData.BatchRunReportsCallback

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

Returns
TypeDescription
void

batchRunReports(request)

public batchRunReports(request: google.analytics.data.v1beta.IBatchRunReportsRequest): Promise<google.analytics.data.v1beta.BatchRunReportsResponse>;

Calls BatchRunReports.

Parameter
NameDescription
request IBatchRunReportsRequest

BatchRunReportsRequest message or plain object

Returns
TypeDescription
Promise<google.analytics.data.v1beta.BatchRunReportsResponse>

Promise

checkCompatibility(request, callback)

public checkCompatibility(request: google.analytics.data.v1beta.ICheckCompatibilityRequest, callback: google.analytics.data.v1beta.BetaAnalyticsData.CheckCompatibilityCallback): void;

Calls CheckCompatibility.

Parameters
NameDescription
request ICheckCompatibilityRequest

CheckCompatibilityRequest message or plain object

callback google.analytics.data.v1beta.BetaAnalyticsData.CheckCompatibilityCallback

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

Returns
TypeDescription
void

checkCompatibility(request)

public checkCompatibility(request: google.analytics.data.v1beta.ICheckCompatibilityRequest): Promise<google.analytics.data.v1beta.CheckCompatibilityResponse>;

Calls CheckCompatibility.

Parameter
NameDescription
request ICheckCompatibilityRequest

CheckCompatibilityRequest message or plain object

Returns
TypeDescription
Promise<google.analytics.data.v1beta.CheckCompatibilityResponse>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): BetaAnalyticsData;

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

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

getMetadata(request, callback)

public getMetadata(request: google.analytics.data.v1beta.IGetMetadataRequest, callback: google.analytics.data.v1beta.BetaAnalyticsData.GetMetadataCallback): void;

Calls GetMetadata.

Parameters
NameDescription
request IGetMetadataRequest

GetMetadataRequest message or plain object

callback google.analytics.data.v1beta.BetaAnalyticsData.GetMetadataCallback

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

Returns
TypeDescription
void

getMetadata(request)

public getMetadata(request: google.analytics.data.v1beta.IGetMetadataRequest): Promise<google.analytics.data.v1beta.Metadata>;

Calls GetMetadata.

Parameter
NameDescription
request IGetMetadataRequest

GetMetadataRequest message or plain object

Returns
TypeDescription
Promise<google.analytics.data.v1beta.Metadata>

Promise

runPivotReport(request, callback)

public runPivotReport(request: google.analytics.data.v1beta.IRunPivotReportRequest, callback: google.analytics.data.v1beta.BetaAnalyticsData.RunPivotReportCallback): void;

Calls RunPivotReport.

Parameters
NameDescription
request IRunPivotReportRequest

RunPivotReportRequest message or plain object

callback google.analytics.data.v1beta.BetaAnalyticsData.RunPivotReportCallback

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

Returns
TypeDescription
void

runPivotReport(request)

public runPivotReport(request: google.analytics.data.v1beta.IRunPivotReportRequest): Promise<google.analytics.data.v1beta.RunPivotReportResponse>;

Calls RunPivotReport.

Parameter
NameDescription
request IRunPivotReportRequest

RunPivotReportRequest message or plain object

Returns
TypeDescription
Promise<google.analytics.data.v1beta.RunPivotReportResponse>

Promise

runRealtimeReport(request, callback)

public runRealtimeReport(request: google.analytics.data.v1beta.IRunRealtimeReportRequest, callback: google.analytics.data.v1beta.BetaAnalyticsData.RunRealtimeReportCallback): void;

Calls RunRealtimeReport.

Parameters
NameDescription
request IRunRealtimeReportRequest

RunRealtimeReportRequest message or plain object

callback google.analytics.data.v1beta.BetaAnalyticsData.RunRealtimeReportCallback

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

Returns
TypeDescription
void

runRealtimeReport(request)

public runRealtimeReport(request: google.analytics.data.v1beta.IRunRealtimeReportRequest): Promise<google.analytics.data.v1beta.RunRealtimeReportResponse>;

Calls RunRealtimeReport.

Parameter
NameDescription
request IRunRealtimeReportRequest

RunRealtimeReportRequest message or plain object

Returns
TypeDescription
Promise<google.analytics.data.v1beta.RunRealtimeReportResponse>

Promise

runReport(request, callback)

public runReport(request: google.analytics.data.v1beta.IRunReportRequest, callback: google.analytics.data.v1beta.BetaAnalyticsData.RunReportCallback): void;

Calls RunReport.

Parameters
NameDescription
request IRunReportRequest

RunReportRequest message or plain object

callback google.analytics.data.v1beta.BetaAnalyticsData.RunReportCallback

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

Returns
TypeDescription
void

runReport(request)

public runReport(request: google.analytics.data.v1beta.IRunReportRequest): Promise<google.analytics.data.v1beta.RunReportResponse>;

Calls RunReport.

Parameter
NameDescription
request IRunReportRequest

RunReportRequest message or plain object

Returns
TypeDescription
Promise<google.analytics.data.v1beta.RunReportResponse>

Promise