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

[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

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. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
NameDescription
requestAggregatedListNodeTypesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetNodeTypeRequest

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskNodeTypeList

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