Represents an AssetService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.asset.v1p4beta1.AssetServicePackage
@google-cloud/assetConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new AssetService service.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
analyzeIamPolicy(request, callback)
public analyzeIamPolicy(request: google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyRequest, callback: google.cloud.asset.v1p4beta1.AssetService.AnalyzeIamPolicyCallback): void;
Calls AnalyzeIamPolicy.
Name | Description |
request |
IAnalyzeIamPolicyRequest
AnalyzeIamPolicyRequest message or plain object |
callback |
google.cloud.asset.v1p4beta1.AssetService.AnalyzeIamPolicyCallback
Node-style callback called with the error, if any, and AnalyzeIamPolicyResponse |
Type | Description |
void |
analyzeIamPolicy(request)
public analyzeIamPolicy(request: google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyRequest): Promise<google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse>;
Calls AnalyzeIamPolicy.
Name | Description |
request |
IAnalyzeIamPolicyRequest
AnalyzeIamPolicyRequest message or plain object |
Type | Description |
Promise<google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AssetService;
Creates new AssetService service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
AssetService | RPC service. Useful where requests and/or responses are streamed. |
exportIamPolicyAnalysis(request, callback)
public exportIamPolicyAnalysis(request: google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisRequest, callback: google.cloud.asset.v1p4beta1.AssetService.ExportIamPolicyAnalysisCallback): void;
Calls ExportIamPolicyAnalysis.
Name | 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 |
Type | Description |
void |
exportIamPolicyAnalysis(request)
public exportIamPolicyAnalysis(request: google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisRequest): Promise<google.longrunning.Operation>;
Calls ExportIamPolicyAnalysis.
Name | Description |
request |
google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisRequest
ExportIamPolicyAnalysisRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |