Class NodeTypes.NodeTypesBase (2.0.0)

[BindServiceMethod(typeof(NodeTypes), "BindService")]
public abstract class 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
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
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
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
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
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
Task<NodeTypeList>

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