Represents a ContentService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dataplex.v1.ContentServicePackage
@google-cloud/dataplexConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ContentService 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): ContentService;
Creates new ContentService 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 |
ContentService | RPC service. Useful where requests and/or responses are streamed. |
createContent(request, callback)
public createContent(request: google.cloud.dataplex.v1.ICreateContentRequest, callback: google.cloud.dataplex.v1.ContentService.CreateContentCallback): void;
Calls CreateContent.
Name | Description |
request |
google.cloud.dataplex.v1.ICreateContentRequest
CreateContentRequest message or plain object |
callback |
google.cloud.dataplex.v1.ContentService.CreateContentCallback
Node-style callback called with the error, if any, and Content |
Type | Description |
void |
createContent(request)
public createContent(request: google.cloud.dataplex.v1.ICreateContentRequest): Promise<google.cloud.dataplex.v1.Content>;
Calls CreateContent.
Name | Description |
request |
google.cloud.dataplex.v1.ICreateContentRequest
CreateContentRequest message or plain object |
Type | Description |
Promise<google.cloud.dataplex.v1.Content> | Promise |
deleteContent(request, callback)
public deleteContent(request: google.cloud.dataplex.v1.IDeleteContentRequest, callback: google.cloud.dataplex.v1.ContentService.DeleteContentCallback): void;
Calls DeleteContent.
Name | Description |
request |
google.cloud.dataplex.v1.IDeleteContentRequest
DeleteContentRequest message or plain object |
callback |
google.cloud.dataplex.v1.ContentService.DeleteContentCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteContent(request)
public deleteContent(request: google.cloud.dataplex.v1.IDeleteContentRequest): Promise<google.protobuf.Empty>;
Calls DeleteContent.
Name | Description |
request |
google.cloud.dataplex.v1.IDeleteContentRequest
DeleteContentRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getContent(request, callback)
public getContent(request: google.cloud.dataplex.v1.IGetContentRequest, callback: google.cloud.dataplex.v1.ContentService.GetContentCallback): void;
Calls GetContent.
Name | Description |
request |
IGetContentRequest
GetContentRequest message or plain object |
callback |
google.cloud.dataplex.v1.ContentService.GetContentCallback
Node-style callback called with the error, if any, and Content |
Type | Description |
void |
getContent(request)
public getContent(request: google.cloud.dataplex.v1.IGetContentRequest): Promise<google.cloud.dataplex.v1.Content>;
Calls GetContent.
Name | Description |
request |
IGetContentRequest
GetContentRequest message or plain object |
Type | Description |
Promise<google.cloud.dataplex.v1.Content> | Promise |
listContent(request, callback)
public listContent(request: google.cloud.dataplex.v1.IListContentRequest, callback: google.cloud.dataplex.v1.ContentService.ListContentCallback): void;
Calls ListContent.
Name | Description |
request |
google.cloud.dataplex.v1.IListContentRequest
ListContentRequest message or plain object |
callback |
google.cloud.dataplex.v1.ContentService.ListContentCallback
Node-style callback called with the error, if any, and ListContentResponse |
Type | Description |
void |
listContent(request)
public listContent(request: google.cloud.dataplex.v1.IListContentRequest): Promise<google.cloud.dataplex.v1.ListContentResponse>;
Calls ListContent.
Name | Description |
request |
google.cloud.dataplex.v1.IListContentRequest
ListContentRequest message or plain object |
Type | Description |
Promise<google.cloud.dataplex.v1.ListContentResponse> | Promise |
updateContent(request, callback)
public updateContent(request: google.cloud.dataplex.v1.IUpdateContentRequest, callback: google.cloud.dataplex.v1.ContentService.UpdateContentCallback): void;
Calls UpdateContent.
Name | Description |
request |
IUpdateContentRequest
UpdateContentRequest message or plain object |
callback |
google.cloud.dataplex.v1.ContentService.UpdateContentCallback
Node-style callback called with the error, if any, and Content |
Type | Description |
void |
updateContent(request)
public updateContent(request: google.cloud.dataplex.v1.IUpdateContentRequest): Promise<google.cloud.dataplex.v1.Content>;
Calls UpdateContent.
Name | Description |
request |
IUpdateContentRequest
UpdateContentRequest message or plain object |
Type | Description |
Promise<google.cloud.dataplex.v1.Content> | Promise |