AssetService

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

analyzeIamPolicy(request, callback) → {undefined}

Calls AnalyzeIamPolicy.

Parameters:
Name Type Description
request google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyRequest

AnalyzeIamPolicyRequest message or plain object

callback google.cloud.asset.v1p4beta1.AssetService.AnalyzeIamPolicyCallback

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

analyzeIamPolicy(request) → {Promise.<google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse>}

Calls AnalyzeIamPolicy.

Parameters:
Name Type Description
request google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyRequest

AnalyzeIamPolicyRequest message or plain object

exportIamPolicyAnalysis(request, callback) → {undefined}

Calls ExportIamPolicyAnalysis.

Parameters:
Name Type Description
request google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisRequest

ExportIamPolicyAnalysisRequest message or plain object

callback google.cloud.asset.v1p4beta1.AssetService.ExportIamPolicyAnalysisCallback

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

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

Calls ExportIamPolicyAnalysis.

Parameters:
Name Type Description
request google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisRequest

ExportIamPolicyAnalysisRequest message or plain object

Type Definitions

AnalyzeIamPolicyCallback(error, responseopt)

Callback as used by google.cloud.asset.v1p4beta1.AssetService#analyzeIamPolicy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse <optional>

AnalyzeIamPolicyResponse

ExportIamPolicyAnalysisCallback(error, responseopt)

Callback as used by google.cloud.asset.v1p4beta1.AssetService#exportIamPolicyAnalysis.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation