AssetService

google.cloud.asset.v1beta1. AssetService

Represents an AssetService

Constructor

new AssetService(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new AssetService 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) → {AssetService}

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

batchGetAssetsHistory(request, callback) → {undefined}

Calls BatchGetAssetsHistory.

Parameters:
Name Type Description
request google.cloud.asset.v1beta1.IBatchGetAssetsHistoryRequest

BatchGetAssetsHistoryRequest message or plain object

callback google.cloud.asset.v1beta1.AssetService.BatchGetAssetsHistoryCallback

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

batchGetAssetsHistory(request) → {Promise.<google.cloud.asset.v1beta1.BatchGetAssetsHistoryResponse>}

Calls BatchGetAssetsHistory.

Parameters:
Name Type Description
request google.cloud.asset.v1beta1.IBatchGetAssetsHistoryRequest

BatchGetAssetsHistoryRequest message or plain object

exportAssets(request, callback) → {undefined}

Calls ExportAssets.

Parameters:
Name Type Description
request google.cloud.asset.v1beta1.IExportAssetsRequest

ExportAssetsRequest message or plain object

callback google.cloud.asset.v1beta1.AssetService.ExportAssetsCallback

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

exportAssets(request) → {Promise.<google.longrunning.Operation>}

Calls ExportAssets.

Parameters:
Name Type Description
request google.cloud.asset.v1beta1.IExportAssetsRequest

ExportAssetsRequest message or plain object

Type Definitions

BatchGetAssetsHistoryCallback(error, responseopt)

Callback as used by google.cloud.asset.v1beta1.AssetService#batchGetAssetsHistory.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.asset.v1beta1.BatchGetAssetsHistoryResponse <optional>

BatchGetAssetsHistoryResponse

ExportAssetsCallback(error, responseopt)

Callback as used by google.cloud.asset.v1beta1.AssetService#exportAssets.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation