Represents a Provisioning
Inheritance
$protobuf.rpc.Service > protos.google.cloud.apigeeregistry.v1.ProvisioningPackage
@google-cloud/apigee-registryConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new Provisioning 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): Provisioning;Creates new Provisioning 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 |
| Provisioning | RPC service. Useful where requests and/or responses are streamed. |
createInstance(request, callback)
public createInstance(request: google.cloud.apigeeregistry.v1.ICreateInstanceRequest, callback: google.cloud.apigeeregistry.v1.Provisioning.CreateInstanceCallback): void;Calls CreateInstance.
| Name | Description |
| request |
ICreateInstanceRequest
CreateInstanceRequest message or plain object |
| callback |
google.cloud.apigeeregistry.v1.Provisioning.CreateInstanceCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
createInstance(request)
public createInstance(request: google.cloud.apigeeregistry.v1.ICreateInstanceRequest): Promise<google.longrunning.Operation>;Calls CreateInstance.
| Name | Description |
| request |
ICreateInstanceRequest
CreateInstanceRequest message or plain object |
| Type | Description |
| Promise<google.longrunning.Operation> | Promise |
deleteInstance(request, callback)
public deleteInstance(request: google.cloud.apigeeregistry.v1.IDeleteInstanceRequest, callback: google.cloud.apigeeregistry.v1.Provisioning.DeleteInstanceCallback): void;Calls DeleteInstance.
| Name | Description |
| request |
IDeleteInstanceRequest
DeleteInstanceRequest message or plain object |
| callback |
google.cloud.apigeeregistry.v1.Provisioning.DeleteInstanceCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
deleteInstance(request)
public deleteInstance(request: google.cloud.apigeeregistry.v1.IDeleteInstanceRequest): Promise<google.longrunning.Operation>;Calls DeleteInstance.
| Name | Description |
| request |
IDeleteInstanceRequest
DeleteInstanceRequest message or plain object |
| Type | Description |
| Promise<google.longrunning.Operation> | Promise |
getInstance(request, callback)
public getInstance(request: google.cloud.apigeeregistry.v1.IGetInstanceRequest, callback: google.cloud.apigeeregistry.v1.Provisioning.GetInstanceCallback): void;Calls GetInstance.
| Name | Description |
| request |
IGetInstanceRequest
GetInstanceRequest message or plain object |
| callback |
google.cloud.apigeeregistry.v1.Provisioning.GetInstanceCallback
Node-style callback called with the error, if any, and Instance |
| Type | Description |
| void |
getInstance(request)
public getInstance(request: google.cloud.apigeeregistry.v1.IGetInstanceRequest): Promise<google.cloud.apigeeregistry.v1.Instance>;Calls GetInstance.
| Name | Description |
| request |
IGetInstanceRequest
GetInstanceRequest message or plain object |
| Type | Description |
| Promise<google.cloud.apigeeregistry.v1.Instance> | Promise |