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.
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): Instances;
Creates new Instances 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 |
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.
Parameters | |
---|---|
Name | Description |
request |
IDebugInstanceRequest
DebugInstanceRequest message or plain object |
callback |
DebugInstanceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
debugInstance(request)
public debugInstance(request: google.appengine.v1.IDebugInstanceRequest): Promise<google.longrunning.Operation>;
Calls DebugInstance.
Parameter | |
---|---|
Name | Description |
request |
IDebugInstanceRequest
DebugInstanceRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IDeleteInstanceRequest
DeleteInstanceRequest message or plain object |
callback |
DeleteInstanceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteInstance(request)
public deleteInstance(request: google.appengine.v1.IDeleteInstanceRequest): Promise<google.longrunning.Operation>;
Calls DeleteInstance.
Parameter | |
---|---|
Name | Description |
request |
IDeleteInstanceRequest
DeleteInstanceRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IGetInstanceRequest
GetInstanceRequest message or plain object |
callback |
GetInstanceCallback
Node-style callback called with the error, if any, and Instance |
Returns | |
---|---|
Type | Description |
void |
getInstance(request)
public getInstance(request: google.appengine.v1.IGetInstanceRequest): Promise<google.appengine.v1.Instance>;
Calls GetInstance.
Parameter | |
---|---|
Name | Description |
request |
IGetInstanceRequest
GetInstanceRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IListInstancesRequest
ListInstancesRequest message or plain object |
callback |
ListInstancesCallback
Node-style callback called with the error, if any, and ListInstancesResponse |
Returns | |
---|---|
Type | Description |
void |
listInstances(request)
public listInstances(request: google.appengine.v1.IListInstancesRequest): Promise<google.appengine.v1.ListInstancesResponse>;
Calls ListInstances.
Parameter | |
---|---|
Name | Description |
request |
IListInstancesRequest
ListInstancesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.appengine.v1.ListInstancesResponse> | Promise |