Represents a NodeTypes
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.NodeTypesPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new NodeTypes service.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
aggregatedList(request, callback)
public aggregatedList(request: google.cloud.compute.v1.IAggregatedListNodeTypesRequest, callback: google.cloud.compute.v1.NodeTypes.AggregatedListCallback): void;
Calls AggregatedList.
Name | Description |
request |
google.cloud.compute.v1.IAggregatedListNodeTypesRequest
AggregatedListNodeTypesRequest message or plain object |
callback |
google.cloud.compute.v1.NodeTypes.AggregatedListCallback
Node-style callback called with the error, if any, and NodeTypeAggregatedList |
Type | Description |
void |
aggregatedList(request)
public aggregatedList(request: google.cloud.compute.v1.IAggregatedListNodeTypesRequest): Promise<google.cloud.compute.v1.NodeTypeAggregatedList>;
Calls AggregatedList.
Name | Description |
request |
google.cloud.compute.v1.IAggregatedListNodeTypesRequest
AggregatedListNodeTypesRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.NodeTypeAggregatedList> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): NodeTypes;
Creates new NodeTypes 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 |
NodeTypes | RPC service. Useful where requests and/or responses are streamed. |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetNodeTypeRequest, callback: google.cloud.compute.v1.NodeTypes.GetCallback): void;
Calls Get.
Name | Description |
request |
google.cloud.compute.v1.IGetNodeTypeRequest
GetNodeTypeRequest message or plain object |
callback |
google.cloud.compute.v1.NodeTypes.GetCallback
Node-style callback called with the error, if any, and NodeType |
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetNodeTypeRequest): Promise<google.cloud.compute.v1.NodeType>;
Calls Get.
Name | Description |
request |
google.cloud.compute.v1.IGetNodeTypeRequest
GetNodeTypeRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.NodeType> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListNodeTypesRequest, callback: google.cloud.compute.v1.NodeTypes.ListCallback): void;
Calls List.
Name | Description |
request |
google.cloud.compute.v1.IListNodeTypesRequest
ListNodeTypesRequest message or plain object |
callback |
google.cloud.compute.v1.NodeTypes.ListCallback
Node-style callback called with the error, if any, and NodeTypeList |
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListNodeTypesRequest): Promise<google.cloud.compute.v1.NodeTypeList>;
Calls List.
Name | Description |
request |
google.cloud.compute.v1.IListNodeTypesRequest
ListNodeTypesRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.NodeTypeList> | Promise |