Compute Engine v1 API - Class NodeTypes.NodeTypesBase (2.5.0)

[BindServiceMethod(typeof(NodeTypes), "BindService")]
public abstract class NodeTypesBase

Reference documentation and code samples for the Compute Engine v1 API class NodeTypes.NodeTypesBase.

Base class for server-side implementations of NodeTypes

Inheritance

Object > NodeTypes.NodeTypesBase

Namespace

Google.Cloud.Compute.V1

Assembly

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.

Parameters
NameDescription
requestAggregatedListNodeTypesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<NodeTypeAggregatedList>

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. Gets a list of available node types by making a list() request.

Parameters
NameDescription
requestGetNodeTypeRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<NodeType>

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
NameDescription
requestListNodeTypesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<NodeTypeList>

The response to send back to the client (wrapped by a task).