Represents an AssetService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.asset.v1p2beta1.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
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.v1p2beta1.ICreateFeedRequest, callback: google.cloud.asset.v1p2beta1.AssetService.CreateFeedCallback): void;
Calls CreateFeed.
Name | Description |
request |
google.cloud.asset.v1p2beta1.ICreateFeedRequest
CreateFeedRequest message or plain object |
callback |
google.cloud.asset.v1p2beta1.AssetService.CreateFeedCallback
Node-style callback called with the error, if any, and Feed |
Type | Description |
void |
createFeed(request)
public createFeed(request: google.cloud.asset.v1p2beta1.ICreateFeedRequest): Promise<google.cloud.asset.v1p2beta1.Feed>;
Calls CreateFeed.
Name | Description |
request |
google.cloud.asset.v1p2beta1.ICreateFeedRequest
CreateFeedRequest message or plain object |
Type | Description |
Promise<google.cloud.asset.v1p2beta1.Feed> | Promise |
deleteFeed(request, callback)
public deleteFeed(request: google.cloud.asset.v1p2beta1.IDeleteFeedRequest, callback: google.cloud.asset.v1p2beta1.AssetService.DeleteFeedCallback): void;
Calls DeleteFeed.
Name | Description |
request |
google.cloud.asset.v1p2beta1.IDeleteFeedRequest
DeleteFeedRequest message or plain object |
callback |
google.cloud.asset.v1p2beta1.AssetService.DeleteFeedCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteFeed(request)
public deleteFeed(request: google.cloud.asset.v1p2beta1.IDeleteFeedRequest): Promise<google.protobuf.Empty>;
Calls DeleteFeed.
Name | Description |
request |
google.cloud.asset.v1p2beta1.IDeleteFeedRequest
DeleteFeedRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getFeed(request, callback)
public getFeed(request: google.cloud.asset.v1p2beta1.IGetFeedRequest, callback: google.cloud.asset.v1p2beta1.AssetService.GetFeedCallback): void;
Calls GetFeed.
Name | Description |
request |
google.cloud.asset.v1p2beta1.IGetFeedRequest
GetFeedRequest message or plain object |
callback |
google.cloud.asset.v1p2beta1.AssetService.GetFeedCallback
Node-style callback called with the error, if any, and Feed |
Type | Description |
void |
getFeed(request)
public getFeed(request: google.cloud.asset.v1p2beta1.IGetFeedRequest): Promise<google.cloud.asset.v1p2beta1.Feed>;
Calls GetFeed.
Name | Description |
request |
google.cloud.asset.v1p2beta1.IGetFeedRequest
GetFeedRequest message or plain object |
Type | Description |
Promise<google.cloud.asset.v1p2beta1.Feed> | Promise |
listFeeds(request, callback)
public listFeeds(request: google.cloud.asset.v1p2beta1.IListFeedsRequest, callback: google.cloud.asset.v1p2beta1.AssetService.ListFeedsCallback): void;
Calls ListFeeds.
Name | Description |
request |
IListFeedsRequest
ListFeedsRequest message or plain object |
callback |
google.cloud.asset.v1p2beta1.AssetService.ListFeedsCallback
Node-style callback called with the error, if any, and ListFeedsResponse |
Type | Description |
void |
listFeeds(request)
public listFeeds(request: google.cloud.asset.v1p2beta1.IListFeedsRequest): Promise<google.cloud.asset.v1p2beta1.ListFeedsResponse>;
Calls ListFeeds.
Name | Description |
request |
IListFeedsRequest
ListFeedsRequest message or plain object |
Type | Description |
Promise<google.cloud.asset.v1p2beta1.ListFeedsResponse> | Promise |
updateFeed(request, callback)
public updateFeed(request: google.cloud.asset.v1p2beta1.IUpdateFeedRequest, callback: google.cloud.asset.v1p2beta1.AssetService.UpdateFeedCallback): void;
Calls UpdateFeed.
Name | Description |
request |
IUpdateFeedRequest
UpdateFeedRequest message or plain object |
callback |
google.cloud.asset.v1p2beta1.AssetService.UpdateFeedCallback
Node-style callback called with the error, if any, and Feed |
Type | Description |
void |
updateFeed(request)
public updateFeed(request: google.cloud.asset.v1p2beta1.IUpdateFeedRequest): Promise<google.cloud.asset.v1p2beta1.Feed>;
Calls UpdateFeed.
Name | Description |
request |
IUpdateFeedRequest
UpdateFeedRequest message or plain object |
Type | Description |
Promise<google.cloud.asset.v1p2beta1.Feed> | Promise |