Represents a StorageInsights
Inheritance
$protobuf.rpc.Service > protos.google.cloud.storageinsights.v1.StorageInsightsPackage
@google-cloud/storageinsightsConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new StorageInsights service.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): StorageInsights;Creates new StorageInsights 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 |
StorageInsights |
RPC service. Useful where requests and/or responses are streamed. |
createDatasetConfig(request, callback)
public createDatasetConfig(request: google.cloud.storageinsights.v1.ICreateDatasetConfigRequest, callback: google.cloud.storageinsights.v1.StorageInsights.CreateDatasetConfigCallback): void;Calls CreateDatasetConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateDatasetConfigRequest
CreateDatasetConfigRequest message or plain object |
callback |
CreateDatasetConfigCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
createDatasetConfig(request)
public createDatasetConfig(request: google.cloud.storageinsights.v1.ICreateDatasetConfigRequest): Promise<google.longrunning.Operation>;Calls CreateDatasetConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
ICreateDatasetConfigRequest
CreateDatasetConfigRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |
createReportConfig(request, callback)
public createReportConfig(request: google.cloud.storageinsights.v1.ICreateReportConfigRequest, callback: google.cloud.storageinsights.v1.StorageInsights.CreateReportConfigCallback): void;Calls CreateReportConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateReportConfigRequest
CreateReportConfigRequest message or plain object |
callback |
CreateReportConfigCallback
Node-style callback called with the error, if any, and ReportConfig |
| Returns | |
|---|---|
| Type | Description |
void |
|
createReportConfig(request)
public createReportConfig(request: google.cloud.storageinsights.v1.ICreateReportConfigRequest): Promise<google.cloud.storageinsights.v1.ReportConfig>;Calls CreateReportConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
ICreateReportConfigRequest
CreateReportConfigRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.storageinsights.v1.ReportConfig> |
Promise |
deleteDatasetConfig(request, callback)
public deleteDatasetConfig(request: google.cloud.storageinsights.v1.IDeleteDatasetConfigRequest, callback: google.cloud.storageinsights.v1.StorageInsights.DeleteDatasetConfigCallback): void;Calls DeleteDatasetConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteDatasetConfigRequest
DeleteDatasetConfigRequest message or plain object |
callback |
DeleteDatasetConfigCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteDatasetConfig(request)
public deleteDatasetConfig(request: google.cloud.storageinsights.v1.IDeleteDatasetConfigRequest): Promise<google.longrunning.Operation>;Calls DeleteDatasetConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteDatasetConfigRequest
DeleteDatasetConfigRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |
deleteReportConfig(request, callback)
public deleteReportConfig(request: google.cloud.storageinsights.v1.IDeleteReportConfigRequest, callback: google.cloud.storageinsights.v1.StorageInsights.DeleteReportConfigCallback): void;Calls DeleteReportConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteReportConfigRequest
DeleteReportConfigRequest message or plain object |
callback |
DeleteReportConfigCallback
Node-style callback called with the error, if any, and Empty |
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteReportConfig(request)
public deleteReportConfig(request: google.cloud.storageinsights.v1.IDeleteReportConfigRequest): Promise<google.protobuf.Empty>;Calls DeleteReportConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteReportConfigRequest
DeleteReportConfigRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.protobuf.Empty> |
Promise |
getDatasetConfig(request, callback)
public getDatasetConfig(request: google.cloud.storageinsights.v1.IGetDatasetConfigRequest, callback: google.cloud.storageinsights.v1.StorageInsights.GetDatasetConfigCallback): void;Calls GetDatasetConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetDatasetConfigRequest
GetDatasetConfigRequest message or plain object |
callback |
GetDatasetConfigCallback
Node-style callback called with the error, if any, and DatasetConfig |
| Returns | |
|---|---|
| Type | Description |
void |
|
getDatasetConfig(request)
public getDatasetConfig(request: google.cloud.storageinsights.v1.IGetDatasetConfigRequest): Promise<google.cloud.storageinsights.v1.DatasetConfig>;Calls GetDatasetConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetDatasetConfigRequest
GetDatasetConfigRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.storageinsights.v1.DatasetConfig> |
Promise |
getReportConfig(request, callback)
public getReportConfig(request: google.cloud.storageinsights.v1.IGetReportConfigRequest, callback: google.cloud.storageinsights.v1.StorageInsights.GetReportConfigCallback): void;Calls GetReportConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetReportConfigRequest
GetReportConfigRequest message or plain object |
callback |
GetReportConfigCallback
Node-style callback called with the error, if any, and ReportConfig |
| Returns | |
|---|---|
| Type | Description |
void |
|
getReportConfig(request)
public getReportConfig(request: google.cloud.storageinsights.v1.IGetReportConfigRequest): Promise<google.cloud.storageinsights.v1.ReportConfig>;Calls GetReportConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetReportConfigRequest
GetReportConfigRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.storageinsights.v1.ReportConfig> |
Promise |
getReportDetail(request, callback)
public getReportDetail(request: google.cloud.storageinsights.v1.IGetReportDetailRequest, callback: google.cloud.storageinsights.v1.StorageInsights.GetReportDetailCallback): void;Calls GetReportDetail.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetReportDetailRequest
GetReportDetailRequest message or plain object |
callback |
GetReportDetailCallback
Node-style callback called with the error, if any, and ReportDetail |
| Returns | |
|---|---|
| Type | Description |
void |
|
getReportDetail(request)
public getReportDetail(request: google.cloud.storageinsights.v1.IGetReportDetailRequest): Promise<google.cloud.storageinsights.v1.ReportDetail>;Calls GetReportDetail.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetReportDetailRequest
GetReportDetailRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.storageinsights.v1.ReportDetail> |
Promise |
linkDataset(request, callback)
public linkDataset(request: google.cloud.storageinsights.v1.ILinkDatasetRequest, callback: google.cloud.storageinsights.v1.StorageInsights.LinkDatasetCallback): void;Calls LinkDataset.
| Parameters | |
|---|---|
| Name | Description |
request |
ILinkDatasetRequest
LinkDatasetRequest message or plain object |
callback |
LinkDatasetCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
linkDataset(request)
public linkDataset(request: google.cloud.storageinsights.v1.ILinkDatasetRequest): Promise<google.longrunning.Operation>;Calls LinkDataset.
| Parameter | |
|---|---|
| Name | Description |
request |
ILinkDatasetRequest
LinkDatasetRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |
listDatasetConfigs(request, callback)
public listDatasetConfigs(request: google.cloud.storageinsights.v1.IListDatasetConfigsRequest, callback: google.cloud.storageinsights.v1.StorageInsights.ListDatasetConfigsCallback): void;Calls ListDatasetConfigs.
| Parameters | |
|---|---|
| Name | Description |
request |
IListDatasetConfigsRequest
ListDatasetConfigsRequest message or plain object |
callback |
ListDatasetConfigsCallback
Node-style callback called with the error, if any, and ListDatasetConfigsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listDatasetConfigs(request)
public listDatasetConfigs(request: google.cloud.storageinsights.v1.IListDatasetConfigsRequest): Promise<google.cloud.storageinsights.v1.ListDatasetConfigsResponse>;Calls ListDatasetConfigs.
| Parameter | |
|---|---|
| Name | Description |
request |
IListDatasetConfigsRequest
ListDatasetConfigsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.storageinsights.v1.ListDatasetConfigsResponse> |
Promise |
listReportConfigs(request, callback)
public listReportConfigs(request: google.cloud.storageinsights.v1.IListReportConfigsRequest, callback: google.cloud.storageinsights.v1.StorageInsights.ListReportConfigsCallback): void;Calls ListReportConfigs.
| Parameters | |
|---|---|
| Name | Description |
request |
IListReportConfigsRequest
ListReportConfigsRequest message or plain object |
callback |
ListReportConfigsCallback
Node-style callback called with the error, if any, and ListReportConfigsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listReportConfigs(request)
public listReportConfigs(request: google.cloud.storageinsights.v1.IListReportConfigsRequest): Promise<google.cloud.storageinsights.v1.ListReportConfigsResponse>;Calls ListReportConfigs.
| Parameter | |
|---|---|
| Name | Description |
request |
IListReportConfigsRequest
ListReportConfigsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.storageinsights.v1.ListReportConfigsResponse> |
Promise |
listReportDetails(request, callback)
public listReportDetails(request: google.cloud.storageinsights.v1.IListReportDetailsRequest, callback: google.cloud.storageinsights.v1.StorageInsights.ListReportDetailsCallback): void;Calls ListReportDetails.
| Parameters | |
|---|---|
| Name | Description |
request |
IListReportDetailsRequest
ListReportDetailsRequest message or plain object |
callback |
ListReportDetailsCallback
Node-style callback called with the error, if any, and ListReportDetailsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listReportDetails(request)
public listReportDetails(request: google.cloud.storageinsights.v1.IListReportDetailsRequest): Promise<google.cloud.storageinsights.v1.ListReportDetailsResponse>;Calls ListReportDetails.
| Parameter | |
|---|---|
| Name | Description |
request |
IListReportDetailsRequest
ListReportDetailsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.storageinsights.v1.ListReportDetailsResponse> |
Promise |
unlinkDataset(request, callback)
public unlinkDataset(request: google.cloud.storageinsights.v1.IUnlinkDatasetRequest, callback: google.cloud.storageinsights.v1.StorageInsights.UnlinkDatasetCallback): void;Calls UnlinkDataset.
| Parameters | |
|---|---|
| Name | Description |
request |
IUnlinkDatasetRequest
UnlinkDatasetRequest message or plain object |
callback |
UnlinkDatasetCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
unlinkDataset(request)
public unlinkDataset(request: google.cloud.storageinsights.v1.IUnlinkDatasetRequest): Promise<google.longrunning.Operation>;Calls UnlinkDataset.
| Parameter | |
|---|---|
| Name | Description |
request |
IUnlinkDatasetRequest
UnlinkDatasetRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |
updateDatasetConfig(request, callback)
public updateDatasetConfig(request: google.cloud.storageinsights.v1.IUpdateDatasetConfigRequest, callback: google.cloud.storageinsights.v1.StorageInsights.UpdateDatasetConfigCallback): void;Calls UpdateDatasetConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateDatasetConfigRequest
UpdateDatasetConfigRequest message or plain object |
callback |
UpdateDatasetConfigCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
updateDatasetConfig(request)
public updateDatasetConfig(request: google.cloud.storageinsights.v1.IUpdateDatasetConfigRequest): Promise<google.longrunning.Operation>;Calls UpdateDatasetConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdateDatasetConfigRequest
UpdateDatasetConfigRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |
updateReportConfig(request, callback)
public updateReportConfig(request: google.cloud.storageinsights.v1.IUpdateReportConfigRequest, callback: google.cloud.storageinsights.v1.StorageInsights.UpdateReportConfigCallback): void;Calls UpdateReportConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateReportConfigRequest
UpdateReportConfigRequest message or plain object |
callback |
UpdateReportConfigCallback
Node-style callback called with the error, if any, and ReportConfig |
| Returns | |
|---|---|
| Type | Description |
void |
|
updateReportConfig(request)
public updateReportConfig(request: google.cloud.storageinsights.v1.IUpdateReportConfigRequest): Promise<google.cloud.storageinsights.v1.ReportConfig>;Calls UpdateReportConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdateReportConfigRequest
UpdateReportConfigRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.storageinsights.v1.ReportConfig> |
Promise |