Represents an AssetService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.asset.v1p1beta1.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
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. |
searchAllIamPolicies(request, callback)
public searchAllIamPolicies(request: google.cloud.asset.v1p1beta1.ISearchAllIamPoliciesRequest, callback: google.cloud.asset.v1p1beta1.AssetService.SearchAllIamPoliciesCallback): void;
Calls SearchAllIamPolicies.
Name | Description |
request |
ISearchAllIamPoliciesRequest
SearchAllIamPoliciesRequest message or plain object |
callback |
google.cloud.asset.v1p1beta1.AssetService.SearchAllIamPoliciesCallback
Node-style callback called with the error, if any, and SearchAllIamPoliciesResponse |
Type | Description |
void |
searchAllIamPolicies(request)
public searchAllIamPolicies(request: google.cloud.asset.v1p1beta1.ISearchAllIamPoliciesRequest): Promise<google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse>;
Calls SearchAllIamPolicies.
Name | Description |
request |
ISearchAllIamPoliciesRequest
SearchAllIamPoliciesRequest message or plain object |
Type | Description |
Promise<google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse> | Promise |
searchAllResources(request, callback)
public searchAllResources(request: google.cloud.asset.v1p1beta1.ISearchAllResourcesRequest, callback: google.cloud.asset.v1p1beta1.AssetService.SearchAllResourcesCallback): void;
Calls SearchAllResources.
Name | 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 |
Type | Description |
void |
searchAllResources(request)
public searchAllResources(request: google.cloud.asset.v1p1beta1.ISearchAllResourcesRequest): Promise<google.cloud.asset.v1p1beta1.SearchAllResourcesResponse>;
Calls SearchAllResources.
Name | Description |
request |
google.cloud.asset.v1p1beta1.ISearchAllResourcesRequest
SearchAllResourcesRequest message or plain object |
Type | Description |
Promise<google.cloud.asset.v1p1beta1.SearchAllResourcesResponse> | Promise |