Class protos.google.cloud.chronicle.v1.NativeDashboardService (0.5.0)

Represents a NativeDashboardService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.chronicle.v1.NativeDashboardService

Package

@google-cloud/chronicle

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new NativeDashboardService service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

addChart(request, callback)

public addChart(request: google.cloud.chronicle.v1.IAddChartRequest, callback: google.cloud.chronicle.v1.NativeDashboardService.AddChartCallback): void;

Calls AddChart.

Parameters
Name Description
request IAddChartRequest

AddChartRequest message or plain object

callback AddChartCallback

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

Returns
Type Description
void

addChart(request)

public addChart(request: google.cloud.chronicle.v1.IAddChartRequest): Promise<google.cloud.chronicle.v1.AddChartResponse>;

Calls AddChart.

Parameter
Name Description
request IAddChartRequest

AddChartRequest message or plain object

Returns
Type Description
Promise<google.cloud.chronicle.v1.AddChartResponse>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

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

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

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

createNativeDashboard(request, callback)

public createNativeDashboard(request: google.cloud.chronicle.v1.ICreateNativeDashboardRequest, callback: google.cloud.chronicle.v1.NativeDashboardService.CreateNativeDashboardCallback): void;

Calls CreateNativeDashboard.

Parameters
Name Description
request ICreateNativeDashboardRequest

CreateNativeDashboardRequest message or plain object

callback CreateNativeDashboardCallback

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

Returns
Type Description
void

createNativeDashboard(request)

public createNativeDashboard(request: google.cloud.chronicle.v1.ICreateNativeDashboardRequest): Promise<google.cloud.chronicle.v1.NativeDashboard>;

Calls CreateNativeDashboard.

Parameter
Name Description
request ICreateNativeDashboardRequest

CreateNativeDashboardRequest message or plain object

Returns
Type Description
Promise<google.cloud.chronicle.v1.NativeDashboard>

Promise

deleteNativeDashboard(request, callback)

public deleteNativeDashboard(request: google.cloud.chronicle.v1.IDeleteNativeDashboardRequest, callback: google.cloud.chronicle.v1.NativeDashboardService.DeleteNativeDashboardCallback): void;

Calls DeleteNativeDashboard.

Parameters
Name Description
request IDeleteNativeDashboardRequest

DeleteNativeDashboardRequest message or plain object

callback DeleteNativeDashboardCallback

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

Returns
Type Description
void

deleteNativeDashboard(request)

public deleteNativeDashboard(request: google.cloud.chronicle.v1.IDeleteNativeDashboardRequest): Promise<google.protobuf.Empty>;

Calls DeleteNativeDashboard.

Parameter
Name Description
request IDeleteNativeDashboardRequest

DeleteNativeDashboardRequest message or plain object

Returns
Type Description
Promise<google.protobuf.Empty>

Promise

duplicateChart(request, callback)

public duplicateChart(request: google.cloud.chronicle.v1.IDuplicateChartRequest, callback: google.cloud.chronicle.v1.NativeDashboardService.DuplicateChartCallback): void;

Calls DuplicateChart.

Parameters
Name Description
request IDuplicateChartRequest

DuplicateChartRequest message or plain object

callback DuplicateChartCallback

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

Returns
Type Description
void

duplicateChart(request)

public duplicateChart(request: google.cloud.chronicle.v1.IDuplicateChartRequest): Promise<google.cloud.chronicle.v1.DuplicateChartResponse>;

Calls DuplicateChart.

Parameter
Name Description
request IDuplicateChartRequest

DuplicateChartRequest message or plain object

Returns
Type Description
Promise<google.cloud.chronicle.v1.DuplicateChartResponse>

Promise

duplicateNativeDashboard(request, callback)

public duplicateNativeDashboard(request: google.cloud.chronicle.v1.IDuplicateNativeDashboardRequest, callback: google.cloud.chronicle.v1.NativeDashboardService.DuplicateNativeDashboardCallback): void;

Calls DuplicateNativeDashboard.

Parameters
Name Description
request IDuplicateNativeDashboardRequest

DuplicateNativeDashboardRequest message or plain object

callback DuplicateNativeDashboardCallback

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

Returns
Type Description
void

duplicateNativeDashboard(request)

public duplicateNativeDashboard(request: google.cloud.chronicle.v1.IDuplicateNativeDashboardRequest): Promise<google.cloud.chronicle.v1.NativeDashboard>;

Calls DuplicateNativeDashboard.

Parameter
Name Description
request IDuplicateNativeDashboardRequest

DuplicateNativeDashboardRequest message or plain object

Returns
Type Description
Promise<google.cloud.chronicle.v1.NativeDashboard>

Promise

editChart(request, callback)

public editChart(request: google.cloud.chronicle.v1.IEditChartRequest, callback: google.cloud.chronicle.v1.NativeDashboardService.EditChartCallback): void;

Calls EditChart.

Parameters
Name Description
request IEditChartRequest

EditChartRequest message or plain object

callback EditChartCallback

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

Returns
Type Description
void

editChart(request)

public editChart(request: google.cloud.chronicle.v1.IEditChartRequest): Promise<google.cloud.chronicle.v1.EditChartResponse>;

Calls EditChart.

Parameter
Name Description
request IEditChartRequest

EditChartRequest message or plain object

Returns
Type Description
Promise<google.cloud.chronicle.v1.EditChartResponse>

Promise

exportNativeDashboards(request, callback)

public exportNativeDashboards(request: google.cloud.chronicle.v1.IExportNativeDashboardsRequest, callback: google.cloud.chronicle.v1.NativeDashboardService.ExportNativeDashboardsCallback): void;

Calls ExportNativeDashboards.

Parameters
Name Description
request IExportNativeDashboardsRequest

ExportNativeDashboardsRequest message or plain object

callback ExportNativeDashboardsCallback

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

Returns
Type Description
void

exportNativeDashboards(request)

public exportNativeDashboards(request: google.cloud.chronicle.v1.IExportNativeDashboardsRequest): Promise<google.cloud.chronicle.v1.ExportNativeDashboardsResponse>;

Calls ExportNativeDashboards.

Parameter
Name Description
request IExportNativeDashboardsRequest

ExportNativeDashboardsRequest message or plain object

Returns
Type Description
Promise<google.cloud.chronicle.v1.ExportNativeDashboardsResponse>

Promise

getNativeDashboard(request, callback)

public getNativeDashboard(request: google.cloud.chronicle.v1.IGetNativeDashboardRequest, callback: google.cloud.chronicle.v1.NativeDashboardService.GetNativeDashboardCallback): void;

Calls GetNativeDashboard.

Parameters
Name Description
request IGetNativeDashboardRequest

GetNativeDashboardRequest message or plain object

callback GetNativeDashboardCallback

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

Returns
Type Description
void

getNativeDashboard(request)

public getNativeDashboard(request: google.cloud.chronicle.v1.IGetNativeDashboardRequest): Promise<google.cloud.chronicle.v1.NativeDashboard>;

Calls GetNativeDashboard.

Parameter
Name Description
request IGetNativeDashboardRequest

GetNativeDashboardRequest message or plain object

Returns
Type Description
Promise<google.cloud.chronicle.v1.NativeDashboard>

Promise

importNativeDashboards(request, callback)

public importNativeDashboards(request: google.cloud.chronicle.v1.IImportNativeDashboardsRequest, callback: google.cloud.chronicle.v1.NativeDashboardService.ImportNativeDashboardsCallback): void;

Calls ImportNativeDashboards.

Parameters
Name Description
request IImportNativeDashboardsRequest

ImportNativeDashboardsRequest message or plain object

callback ImportNativeDashboardsCallback

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

Returns
Type Description
void

importNativeDashboards(request)

public importNativeDashboards(request: google.cloud.chronicle.v1.IImportNativeDashboardsRequest): Promise<google.cloud.chronicle.v1.ImportNativeDashboardsResponse>;

Calls ImportNativeDashboards.

Parameter
Name Description
request IImportNativeDashboardsRequest

ImportNativeDashboardsRequest message or plain object

Returns
Type Description
Promise<google.cloud.chronicle.v1.ImportNativeDashboardsResponse>

Promise

listNativeDashboards(request, callback)

public listNativeDashboards(request: google.cloud.chronicle.v1.IListNativeDashboardsRequest, callback: google.cloud.chronicle.v1.NativeDashboardService.ListNativeDashboardsCallback): void;

Calls ListNativeDashboards.

Parameters
Name Description
request IListNativeDashboardsRequest

ListNativeDashboardsRequest message or plain object

callback ListNativeDashboardsCallback

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

Returns
Type Description
void

listNativeDashboards(request)

public listNativeDashboards(request: google.cloud.chronicle.v1.IListNativeDashboardsRequest): Promise<google.cloud.chronicle.v1.ListNativeDashboardsResponse>;

Calls ListNativeDashboards.

Parameter
Name Description
request IListNativeDashboardsRequest

ListNativeDashboardsRequest message or plain object

Returns
Type Description
Promise<google.cloud.chronicle.v1.ListNativeDashboardsResponse>

Promise

removeChart(request, callback)

public removeChart(request: google.cloud.chronicle.v1.IRemoveChartRequest, callback: google.cloud.chronicle.v1.NativeDashboardService.RemoveChartCallback): void;

Calls RemoveChart.

Parameters
Name Description
request IRemoveChartRequest

RemoveChartRequest message or plain object

callback RemoveChartCallback

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

Returns
Type Description
void

removeChart(request)

public removeChart(request: google.cloud.chronicle.v1.IRemoveChartRequest): Promise<google.cloud.chronicle.v1.NativeDashboard>;

Calls RemoveChart.

Parameter
Name Description
request IRemoveChartRequest

RemoveChartRequest message or plain object

Returns
Type Description
Promise<google.cloud.chronicle.v1.NativeDashboard>

Promise

updateNativeDashboard(request, callback)

public updateNativeDashboard(request: google.cloud.chronicle.v1.IUpdateNativeDashboardRequest, callback: google.cloud.chronicle.v1.NativeDashboardService.UpdateNativeDashboardCallback): void;

Calls UpdateNativeDashboard.

Parameters
Name Description
request IUpdateNativeDashboardRequest

UpdateNativeDashboardRequest message or plain object

callback UpdateNativeDashboardCallback

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

Returns
Type Description
void

updateNativeDashboard(request)

public updateNativeDashboard(request: google.cloud.chronicle.v1.IUpdateNativeDashboardRequest): Promise<google.cloud.chronicle.v1.NativeDashboard>;

Calls UpdateNativeDashboard.

Parameter
Name Description
request IUpdateNativeDashboardRequest

UpdateNativeDashboardRequest message or plain object

Returns
Type Description
Promise<google.cloud.chronicle.v1.NativeDashboard>

Promise