[BindServiceMethod(typeof(NodeTypes), "BindService")]
public abstract class NodeTypes.NodeTypesBase
Reference documentation and code samples for the Compute Engine v1 API class NodeTypes.NodeTypesBase.
Base class for server-side implementations of NodeTypes
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
AggregatedList(AggregatedListNodeTypesRequest, ServerCallContext)
public virtual Task<NodeTypeAggregatedList> AggregatedList(AggregatedListNodeTypesRequest request, ServerCallContext context)
Retrieves an aggregated list of node types. To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Parameters | |
---|---|
Name | Description |
request |
AggregatedListNodeTypesRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskNodeTypeAggregatedList |
The response to send back to the client (wrapped by a task). |
Get(GetNodeTypeRequest, ServerCallContext)
public virtual Task<NodeType> Get(GetNodeTypeRequest request, ServerCallContext context)
Returns the specified node type.
Parameters | |
---|---|
Name | Description |
request |
GetNodeTypeRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskNodeType |
The response to send back to the client (wrapped by a task). |
List(ListNodeTypesRequest, ServerCallContext)
public virtual Task<NodeTypeList> List(ListNodeTypesRequest request, ServerCallContext context)
Retrieves a list of node types available to the specified project.
Parameters | |
---|---|
Name | Description |
request |
ListNodeTypesRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskNodeTypeList |
The response to send back to the client (wrapped by a task). |