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.
Parameters | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
ICreateContentRequest
CreateContentRequest message or plain object |
callback |
CreateContentCallback
Node-style callback called with the error, if any, and Content |
Returns | |
---|---|
Type | Description |
void |
createContent(request)
public createContent(request: google.cloud.dataplex.v1.ICreateContentRequest): Promise<google.cloud.dataplex.v1.Content>;
Calls CreateContent.
Parameter | |
---|---|
Name | Description |
request |
ICreateContentRequest
CreateContentRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IDeleteContentRequest
DeleteContentRequest message or plain object |
callback |
DeleteContentCallback
Node-style callback called with the error, if any, and Empty |
Returns | |
---|---|
Type | Description |
void |
deleteContent(request)
public deleteContent(request: google.cloud.dataplex.v1.IDeleteContentRequest): Promise<google.protobuf.Empty>;
Calls DeleteContent.
Parameter | |
---|---|
Name | Description |
request |
IDeleteContentRequest
DeleteContentRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IGetContentRequest
GetContentRequest message or plain object |
callback |
GetContentCallback
Node-style callback called with the error, if any, and Content |
Returns | |
---|---|
Type | Description |
void |
getContent(request)
public getContent(request: google.cloud.dataplex.v1.IGetContentRequest): Promise<google.cloud.dataplex.v1.Content>;
Calls GetContent.
Parameter | |
---|---|
Name | Description |
request |
IGetContentRequest
GetContentRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.dataplex.v1.Content> | Promise |
getIamPolicy(request, callback)
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.dataplex.v1.ContentService.GetIamPolicyCallback): void;
Calls GetIamPolicy.
Parameters | |
---|---|
Name | Description |
request |
IGetIamPolicyRequest
GetIamPolicyRequest message or plain object |
callback |
GetIamPolicyCallback
Node-style callback called with the error, if any, and Policy |
Returns | |
---|---|
Type | Description |
void |
getIamPolicy(request)
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise<google.iam.v1.Policy>;
Calls GetIamPolicy.
Parameter | |
---|---|
Name | Description |
request |
IGetIamPolicyRequest
GetIamPolicyRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.iam.v1.Policy> | Promise |
listContent(request, callback)
public listContent(request: google.cloud.dataplex.v1.IListContentRequest, callback: google.cloud.dataplex.v1.ContentService.ListContentCallback): void;
Calls ListContent.
Parameters | |
---|---|
Name | Description |
request |
IListContentRequest
ListContentRequest message or plain object |
callback |
ListContentCallback
Node-style callback called with the error, if any, and ListContentResponse |
Returns | |
---|---|
Type | Description |
void |
listContent(request)
public listContent(request: google.cloud.dataplex.v1.IListContentRequest): Promise<google.cloud.dataplex.v1.ListContentResponse>;
Calls ListContent.
Parameter | |
---|---|
Name | Description |
request |
IListContentRequest
ListContentRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.dataplex.v1.ListContentResponse> | Promise |
setIamPolicy(request, callback)
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.dataplex.v1.ContentService.SetIamPolicyCallback): void;
Calls SetIamPolicy.
Parameters | |
---|---|
Name | Description |
request |
ISetIamPolicyRequest
SetIamPolicyRequest message or plain object |
callback |
SetIamPolicyCallback
Node-style callback called with the error, if any, and Policy |
Returns | |
---|---|
Type | Description |
void |
setIamPolicy(request)
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise<google.iam.v1.Policy>;
Calls SetIamPolicy.
Parameter | |
---|---|
Name | Description |
request |
ISetIamPolicyRequest
SetIamPolicyRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.iam.v1.Policy> | Promise |
testIamPermissions(request, callback)
public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.cloud.dataplex.v1.ContentService.TestIamPermissionsCallback): void;
Calls TestIamPermissions.
Parameters | |
---|---|
Name | Description |
request |
ITestIamPermissionsRequest
TestIamPermissionsRequest message or plain object |
callback |
TestIamPermissionsCallback
Node-style callback called with the error, if any, and TestIamPermissionsResponse |
Returns | |
---|---|
Type | Description |
void |
testIamPermissions(request)
public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise<google.iam.v1.TestIamPermissionsResponse>;
Calls TestIamPermissions.
Parameter | |
---|---|
Name | Description |
request |
ITestIamPermissionsRequest
TestIamPermissionsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.iam.v1.TestIamPermissionsResponse> | Promise |
updateContent(request, callback)
public updateContent(request: google.cloud.dataplex.v1.IUpdateContentRequest, callback: google.cloud.dataplex.v1.ContentService.UpdateContentCallback): void;
Calls UpdateContent.
Parameters | |
---|---|
Name | Description |
request |
IUpdateContentRequest
UpdateContentRequest message or plain object |
callback |
UpdateContentCallback
Node-style callback called with the error, if any, and Content |
Returns | |
---|---|
Type | Description |
void |
updateContent(request)
public updateContent(request: google.cloud.dataplex.v1.IUpdateContentRequest): Promise<google.cloud.dataplex.v1.Content>;
Calls UpdateContent.
Parameter | |
---|---|
Name | Description |
request |
IUpdateContentRequest
UpdateContentRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.dataplex.v1.Content> | Promise |