Represents an AssetService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.asset.v1.AssetServicePackage
@google-cloud/asset!Constructors
(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.v1.IAnalyzeIamPolicyRequest, callback: google.cloud.asset.v1.AssetService.AnalyzeIamPolicyCallback): void;
Calls AnalyzeIamPolicy.
Name | Description |
request |
google.cloud.asset.v1.IAnalyzeIamPolicyRequest
AnalyzeIamPolicyRequest message or plain object |
callback |
google.cloud.asset.v1.AssetService.AnalyzeIamPolicyCallback
Node-style callback called with the error, if any, and AnalyzeIamPolicyResponse |
Type | Description |
void |
analyzeIamPolicy(request)
public analyzeIamPolicy(request: google.cloud.asset.v1.IAnalyzeIamPolicyRequest): Promise<google.cloud.asset.v1.AnalyzeIamPolicyResponse>;
Calls AnalyzeIamPolicy.
Name | Description |
request |
google.cloud.asset.v1.IAnalyzeIamPolicyRequest
AnalyzeIamPolicyRequest message or plain object |
Type | Description |
Promise<google.cloud.asset.v1.AnalyzeIamPolicyResponse> | Promise |
analyzeIamPolicyLongrunning(request, callback)
public analyzeIamPolicyLongrunning(request: google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningRequest, callback: google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunningCallback): void;
Calls AnalyzeIamPolicyLongrunning.
Name | Description |
request |
google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningRequest
AnalyzeIamPolicyLongrunningRequest message or plain object |
callback |
google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunningCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
analyzeIamPolicyLongrunning(request)
public analyzeIamPolicyLongrunning(request: google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningRequest): Promise<google.longrunning.Operation>;
Calls AnalyzeIamPolicyLongrunning.
Name | Description |
request |
google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningRequest
AnalyzeIamPolicyLongrunningRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
analyzeMove(request, callback)
public analyzeMove(request: google.cloud.asset.v1.IAnalyzeMoveRequest, callback: google.cloud.asset.v1.AssetService.AnalyzeMoveCallback): void;
Calls AnalyzeMove.
Name | Description |
request |
google.cloud.asset.v1.IAnalyzeMoveRequest
AnalyzeMoveRequest message or plain object |
callback |
google.cloud.asset.v1.AssetService.AnalyzeMoveCallback
Node-style callback called with the error, if any, and AnalyzeMoveResponse |
Type | Description |
void |
analyzeMove(request)
public analyzeMove(request: google.cloud.asset.v1.IAnalyzeMoveRequest): Promise<google.cloud.asset.v1.AnalyzeMoveResponse>;
Calls AnalyzeMove.
Name | Description |
request |
google.cloud.asset.v1.IAnalyzeMoveRequest
AnalyzeMoveRequest message or plain object |
Type | Description |
Promise<google.cloud.asset.v1.AnalyzeMoveResponse> | Promise |
batchGetAssetsHistory(request, callback)
public batchGetAssetsHistory(request: google.cloud.asset.v1.IBatchGetAssetsHistoryRequest, callback: google.cloud.asset.v1.AssetService.BatchGetAssetsHistoryCallback): void;
Calls BatchGetAssetsHistory.
Name | Description |
request |
google.cloud.asset.v1.IBatchGetAssetsHistoryRequest
BatchGetAssetsHistoryRequest message or plain object |
callback |
google.cloud.asset.v1.AssetService.BatchGetAssetsHistoryCallback
Node-style callback called with the error, if any, and BatchGetAssetsHistoryResponse |
Type | Description |
void |
batchGetAssetsHistory(request)
public batchGetAssetsHistory(request: google.cloud.asset.v1.IBatchGetAssetsHistoryRequest): Promise<google.cloud.asset.v1.BatchGetAssetsHistoryResponse>;
Calls BatchGetAssetsHistory.
Name | Description |
request |
google.cloud.asset.v1.IBatchGetAssetsHistoryRequest
BatchGetAssetsHistoryRequest message or plain object |
Type | Description |
Promise<google.cloud.asset.v1.BatchGetAssetsHistoryResponse> | 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. |
createFeed(request, callback)
public createFeed(request: google.cloud.asset.v1.ICreateFeedRequest, callback: google.cloud.asset.v1.AssetService.CreateFeedCallback): void;
Calls CreateFeed.
Name | Description |
request |
ICreateFeedRequest
CreateFeedRequest message or plain object |
callback |
google.cloud.asset.v1.AssetService.CreateFeedCallback
Node-style callback called with the error, if any, and Feed |
Type | Description |
void |
createFeed(request)
public createFeed(request: google.cloud.asset.v1.ICreateFeedRequest): Promise<google.cloud.asset.v1.Feed>;
Calls CreateFeed.
Name | Description |
request |
ICreateFeedRequest
CreateFeedRequest message or plain object |
Type | Description |
Promise<google.cloud.asset.v1.Feed> | Promise |
deleteFeed(request, callback)
public deleteFeed(request: google.cloud.asset.v1.IDeleteFeedRequest, callback: google.cloud.asset.v1.AssetService.DeleteFeedCallback): void;
Calls DeleteFeed.
Name | Description |
request |
IDeleteFeedRequest
DeleteFeedRequest message or plain object |
callback |
google.cloud.asset.v1.AssetService.DeleteFeedCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteFeed(request)
public deleteFeed(request: google.cloud.asset.v1.IDeleteFeedRequest): Promise<google.protobuf.Empty>;
Calls DeleteFeed.
Name | Description |
request |
IDeleteFeedRequest
DeleteFeedRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
exportAssets(request, callback)
public exportAssets(request: google.cloud.asset.v1.IExportAssetsRequest, callback: google.cloud.asset.v1.AssetService.ExportAssetsCallback): void;
Calls ExportAssets.
Name | Description |
request |
IExportAssetsRequest
ExportAssetsRequest message or plain object |
callback |
google.cloud.asset.v1.AssetService.ExportAssetsCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
exportAssets(request)
public exportAssets(request: google.cloud.asset.v1.IExportAssetsRequest): Promise<google.longrunning.Operation>;
Calls ExportAssets.
Name | Description |
request |
IExportAssetsRequest
ExportAssetsRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getFeed(request, callback)
public getFeed(request: google.cloud.asset.v1.IGetFeedRequest, callback: google.cloud.asset.v1.AssetService.GetFeedCallback): void;
Calls GetFeed.
Name | Description |
request |
IGetFeedRequest
GetFeedRequest message or plain object |
callback |
google.cloud.asset.v1.AssetService.GetFeedCallback
Node-style callback called with the error, if any, and Feed |
Type | Description |
void |
getFeed(request)
public getFeed(request: google.cloud.asset.v1.IGetFeedRequest): Promise<google.cloud.asset.v1.Feed>;
Calls GetFeed.
Name | Description |
request |
IGetFeedRequest
GetFeedRequest message or plain object |
Type | Description |
Promise<google.cloud.asset.v1.Feed> | Promise |
listAssets(request, callback)
public listAssets(request: google.cloud.asset.v1.IListAssetsRequest, callback: google.cloud.asset.v1.AssetService.ListAssetsCallback): void;
Calls ListAssets.
Name | Description |
request |
IListAssetsRequest
ListAssetsRequest message or plain object |
callback |
google.cloud.asset.v1.AssetService.ListAssetsCallback
Node-style callback called with the error, if any, and ListAssetsResponse |
Type | Description |
void |
listAssets(request)
public listAssets(request: google.cloud.asset.v1.IListAssetsRequest): Promise<google.cloud.asset.v1.ListAssetsResponse>;
Calls ListAssets.
Name | Description |
request |
IListAssetsRequest
ListAssetsRequest message or plain object |
Type | Description |
Promise<google.cloud.asset.v1.ListAssetsResponse> | Promise |
listFeeds(request, callback)
public listFeeds(request: google.cloud.asset.v1.IListFeedsRequest, callback: google.cloud.asset.v1.AssetService.ListFeedsCallback): void;
Calls ListFeeds.
Name | Description |
request |
IListFeedsRequest
ListFeedsRequest message or plain object |
callback |
google.cloud.asset.v1.AssetService.ListFeedsCallback
Node-style callback called with the error, if any, and ListFeedsResponse |
Type | Description |
void |
listFeeds(request)
public listFeeds(request: google.cloud.asset.v1.IListFeedsRequest): Promise<google.cloud.asset.v1.ListFeedsResponse>;
Calls ListFeeds.
Name | Description |
request |
IListFeedsRequest
ListFeedsRequest message or plain object |
Type | Description |
Promise<google.cloud.asset.v1.ListFeedsResponse> | Promise |
searchAllIamPolicies(request, callback)
public searchAllIamPolicies(request: google.cloud.asset.v1.ISearchAllIamPoliciesRequest, callback: google.cloud.asset.v1.AssetService.SearchAllIamPoliciesCallback): void;
Calls SearchAllIamPolicies.
Name | Description |
request |
ISearchAllIamPoliciesRequest
SearchAllIamPoliciesRequest message or plain object |
callback |
google.cloud.asset.v1.AssetService.SearchAllIamPoliciesCallback
Node-style callback called with the error, if any, and SearchAllIamPoliciesResponse |
Type | Description |
void |
searchAllIamPolicies(request)
public searchAllIamPolicies(request: google.cloud.asset.v1.ISearchAllIamPoliciesRequest): Promise<google.cloud.asset.v1.SearchAllIamPoliciesResponse>;
Calls SearchAllIamPolicies.
Name | Description |
request |
ISearchAllIamPoliciesRequest
SearchAllIamPoliciesRequest message or plain object |
Type | Description |
Promise<google.cloud.asset.v1.SearchAllIamPoliciesResponse> | Promise |
searchAllResources(request, callback)
public searchAllResources(request: google.cloud.asset.v1.ISearchAllResourcesRequest, callback: google.cloud.asset.v1.AssetService.SearchAllResourcesCallback): void;
Calls SearchAllResources.
Name | Description |
request |
google.cloud.asset.v1.ISearchAllResourcesRequest
SearchAllResourcesRequest message or plain object |
callback |
google.cloud.asset.v1.AssetService.SearchAllResourcesCallback
Node-style callback called with the error, if any, and SearchAllResourcesResponse |
Type | Description |
void |
searchAllResources(request)
public searchAllResources(request: google.cloud.asset.v1.ISearchAllResourcesRequest): Promise<google.cloud.asset.v1.SearchAllResourcesResponse>;
Calls SearchAllResources.
Name | Description |
request |
google.cloud.asset.v1.ISearchAllResourcesRequest
SearchAllResourcesRequest message or plain object |
Type | Description |
Promise<google.cloud.asset.v1.SearchAllResourcesResponse> | Promise |
updateFeed(request, callback)
public updateFeed(request: google.cloud.asset.v1.IUpdateFeedRequest, callback: google.cloud.asset.v1.AssetService.UpdateFeedCallback): void;
Calls UpdateFeed.
Name | Description |
request |
IUpdateFeedRequest
UpdateFeedRequest message or plain object |
callback |
google.cloud.asset.v1.AssetService.UpdateFeedCallback
Node-style callback called with the error, if any, and Feed |
Type | Description |
void |
updateFeed(request)
public updateFeed(request: google.cloud.asset.v1.IUpdateFeedRequest): Promise<google.cloud.asset.v1.Feed>;
Calls UpdateFeed.
Name | Description |
request |
IUpdateFeedRequest
UpdateFeedRequest message or plain object |
Type | Description |
Promise<google.cloud.asset.v1.Feed> | Promise |