Represents a ProjectService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.discoveryengine.v1.ProjectServicePackage
@google-cloud/discoveryengineConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ProjectService 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): ProjectService;
Creates new ProjectService 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 |
ProjectService |
RPC service. Useful where requests and/or responses are streamed. |
provisionProject(request, callback)
public provisionProject(request: google.cloud.discoveryengine.v1.IProvisionProjectRequest, callback: google.cloud.discoveryengine.v1.ProjectService.ProvisionProjectCallback): void;
Calls ProvisionProject.
Parameters | |
---|---|
Name | Description |
request |
IProvisionProjectRequest
ProvisionProjectRequest message or plain object |
callback |
ProvisionProjectCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
provisionProject(request)
public provisionProject(request: google.cloud.discoveryengine.v1.IProvisionProjectRequest): Promise<google.longrunning.Operation>;
Calls ProvisionProject.
Parameter | |
---|---|
Name | Description |
request |
IProvisionProjectRequest
ProvisionProjectRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> |
Promise |