Represents an Instances
Inheritance
$protobuf.rpc.Service > protos.google.appengine.v1.InstancesPackage
@google-cloud/appengine-adminConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new Instances 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): Instances;
Creates new Instances 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 |
Instances | RPC service. Useful where requests and/or responses are streamed. |
debugInstance(request, callback)
public debugInstance(request: google.appengine.v1.IDebugInstanceRequest, callback: google.appengine.v1.Instances.DebugInstanceCallback): void;
Calls DebugInstance.
Name | Description |
request |
IDebugInstanceRequest
DebugInstanceRequest message or plain object |
callback |
google.appengine.v1.Instances.DebugInstanceCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
debugInstance(request)
public debugInstance(request: google.appengine.v1.IDebugInstanceRequest): Promise<google.longrunning.Operation>;
Calls DebugInstance.
Name | Description |
request |
IDebugInstanceRequest
DebugInstanceRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteInstance(request, callback)
public deleteInstance(request: google.appengine.v1.IDeleteInstanceRequest, callback: google.appengine.v1.Instances.DeleteInstanceCallback): void;
Calls DeleteInstance.
Name | Description |
request |
IDeleteInstanceRequest
DeleteInstanceRequest message or plain object |
callback |
google.appengine.v1.Instances.DeleteInstanceCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
deleteInstance(request)
public deleteInstance(request: google.appengine.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.appengine.v1.IGetInstanceRequest, callback: google.appengine.v1.Instances.GetInstanceCallback): void;
Calls GetInstance.
Name | Description |
request |
IGetInstanceRequest
GetInstanceRequest message or plain object |
callback |
google.appengine.v1.Instances.GetInstanceCallback
Node-style callback called with the error, if any, and Instance |
Type | Description |
void |
getInstance(request)
public getInstance(request: google.appengine.v1.IGetInstanceRequest): Promise<google.appengine.v1.Instance>;
Calls GetInstance.
Name | Description |
request |
IGetInstanceRequest
GetInstanceRequest message or plain object |
Type | Description |
Promise<google.appengine.v1.Instance> | Promise |
listInstances(request, callback)
public listInstances(request: google.appengine.v1.IListInstancesRequest, callback: google.appengine.v1.Instances.ListInstancesCallback): void;
Calls ListInstances.
Name | Description |
request |
IListInstancesRequest
ListInstancesRequest message or plain object |
callback |
google.appengine.v1.Instances.ListInstancesCallback
Node-style callback called with the error, if any, and ListInstancesResponse |
Type | Description |
void |
listInstances(request)
public listInstances(request: google.appengine.v1.IListInstancesRequest): Promise<google.appengine.v1.ListInstancesResponse>;
Calls ListInstances.
Name | Description |
request |
IListInstancesRequest
ListInstancesRequest message or plain object |
Type | Description |
Promise<google.appengine.v1.ListInstancesResponse> | Promise |