Represents a BetaAnalyticsData
Inheritance
$protobuf.rpc.Service > protos.google.analytics.data.v1beta.BetaAnalyticsDataPackage
@google-analytics/dataConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new BetaAnalyticsData service.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
batchRunPivotReports(request)
public batchRunPivotReports(request: google.analytics.data.v1beta.IBatchRunPivotReportsRequest): Promise<google.analytics.data.v1beta.BatchRunPivotReportsResponse>;
Calls BatchRunPivotReports.
Parameter | |
---|---|
Name | Description |
request |
IBatchRunPivotReportsRequest
BatchRunPivotReportsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
batchRunReports(request)
public batchRunReports(request: google.analytics.data.v1beta.IBatchRunReportsRequest): Promise<google.analytics.data.v1beta.BatchRunReportsResponse>;
Calls BatchRunReports.
Parameter | |
---|---|
Name | Description |
request |
IBatchRunReportsRequest
BatchRunReportsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
checkCompatibility(request)
public checkCompatibility(request: google.analytics.data.v1beta.ICheckCompatibilityRequest): Promise<google.analytics.data.v1beta.CheckCompatibilityResponse>;
Calls CheckCompatibility.
Parameter | |
---|---|
Name | Description |
request |
ICheckCompatibilityRequest
CheckCompatibilityRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
getMetadata(request)
public getMetadata(request: google.analytics.data.v1beta.IGetMetadataRequest): Promise<google.analytics.data.v1beta.Metadata>;
Calls GetMetadata.
Parameter | |
---|---|
Name | Description |
request |
IGetMetadataRequest
GetMetadataRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
runPivotReport(request)
public runPivotReport(request: google.analytics.data.v1beta.IRunPivotReportRequest): Promise<google.analytics.data.v1beta.RunPivotReportResponse>;
Calls RunPivotReport.
Parameter | |
---|---|
Name | Description |
request |
IRunPivotReportRequest
RunPivotReportRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
runRealtimeReport(request)
public runRealtimeReport(request: google.analytics.data.v1beta.IRunRealtimeReportRequest): Promise<google.analytics.data.v1beta.RunRealtimeReportResponse>;
Calls RunRealtimeReport.
Parameter | |
---|---|
Name | Description |
request |
IRunRealtimeReportRequest
RunRealtimeReportRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
runReport(request)
public runReport(request: google.analytics.data.v1beta.IRunReportRequest): Promise<google.analytics.data.v1beta.RunReportResponse>;
Calls RunReport.
Parameter | |
---|---|
Name | Description |
request |
IRunReportRequest
RunReportRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.analytics.data.v1beta.RunReportResponse> | Promise |