AssetService

google.cloud.asset.v1p1beta1. 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

searchAllIamPolicies(request, callback) → {undefined}

Calls SearchAllIamPolicies.

Parameters:
Name Type Description
request google.cloud.asset.v1p1beta1.ISearchAllIamPoliciesRequest

SearchAllIamPoliciesRequest message or plain object

callback google.cloud.asset.v1p1beta1.AssetService.SearchAllIamPoliciesCallback

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

searchAllIamPolicies(request) → {Promise.<google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse>}

Calls SearchAllIamPolicies.

Parameters:
Name Type Description
request google.cloud.asset.v1p1beta1.ISearchAllIamPoliciesRequest

SearchAllIamPoliciesRequest message or plain object

searchAllResources(request, callback) → {undefined}

Calls SearchAllResources.

Parameters:
Name Type Description
request google.cloud.asset.v1p1beta1.ISearchAllResourcesRequest

SearchAllResourcesRequest message or plain object

callback google.cloud.asset.v1p1beta1.AssetService.SearchAllResourcesCallback

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

searchAllResources(request) → {Promise.<google.cloud.asset.v1p1beta1.SearchAllResourcesResponse>}

Calls SearchAllResources.

Parameters:
Name Type Description
request google.cloud.asset.v1p1beta1.ISearchAllResourcesRequest

SearchAllResourcesRequest message or plain object

Type Definitions

SearchAllIamPoliciesCallback(error, responseopt)

Callback as used by google.cloud.asset.v1p1beta1.AssetService#searchAllIamPolicies.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse <optional>

SearchAllIamPoliciesResponse

SearchAllResourcesCallback(error, responseopt)

Callback as used by google.cloud.asset.v1p1beta1.AssetService#searchAllResources.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.asset.v1p1beta1.SearchAllResourcesResponse <optional>

SearchAllResourcesResponse