Constructor
new Provisioning(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new Provisioning service.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
createApiHubInstance(request, callback) → {undefined}
Calls CreateApiHubInstance.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.apihub.v1.ICreateApiHubInstanceRequest |
CreateApiHubInstanceRequest message or plain object |
callback |
google.cloud.apihub.v1.Provisioning.CreateApiHubInstanceCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
createApiHubInstance(request) → {Promise.<google.longrunning.Operation>}
Calls CreateApiHubInstance.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.apihub.v1.ICreateApiHubInstanceRequest |
CreateApiHubInstanceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
getApiHubInstance(request, callback) → {undefined}
Calls GetApiHubInstance.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.apihub.v1.IGetApiHubInstanceRequest |
GetApiHubInstanceRequest message or plain object |
callback |
google.cloud.apihub.v1.Provisioning.GetApiHubInstanceCallback |
Node-style callback called with the error, if any, and ApiHubInstance |
Returns:
Type | Description |
---|---|
undefined |
getApiHubInstance(request) → {Promise.<google.cloud.apihub.v1.ApiHubInstance>}
Calls GetApiHubInstance.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.apihub.v1.IGetApiHubInstanceRequest |
GetApiHubInstanceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.apihub.v1.ApiHubInstance> |
Promise |
lookupApiHubInstance(request, callback) → {undefined}
Calls LookupApiHubInstance.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.apihub.v1.ILookupApiHubInstanceRequest |
LookupApiHubInstanceRequest message or plain object |
callback |
google.cloud.apihub.v1.Provisioning.LookupApiHubInstanceCallback |
Node-style callback called with the error, if any, and LookupApiHubInstanceResponse |
Returns:
Type | Description |
---|---|
undefined |
lookupApiHubInstance(request) → {Promise.<google.cloud.apihub.v1.LookupApiHubInstanceResponse>}
Calls LookupApiHubInstance.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.apihub.v1.ILookupApiHubInstanceRequest |
LookupApiHubInstanceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.apihub.v1.LookupApiHubInstanceResponse> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {Provisioning}
Creates new Provisioning service using the specified rpc implementation.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
Type | Description |
---|---|
Provisioning |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
CreateApiHubInstanceCallback(error, responseopt)
Callback as used by createApiHubInstance.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
GetApiHubInstanceCallback(error, responseopt)
Callback as used by getApiHubInstance.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.apihub.v1.ApiHubInstance |
<optional> |
ApiHubInstance |
LookupApiHubInstanceCallback(error, responseopt)
Callback as used by lookupApiHubInstance.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.apihub.v1.LookupApiHubInstanceResponse |
<optional> |
LookupApiHubInstanceResponse |