Compute Engine v1 API - Class NodeGroups.NodeGroupsBase (2.8.0)

[BindServiceMethod(typeof(NodeGroups), "BindService")]
public abstract class NodeGroups.NodeGroupsBase

Reference documentation and code samples for the Compute Engine v1 API class NodeGroups.NodeGroupsBase.

Base class for server-side implementations of NodeGroups

Inheritance

object > NodeGroups.NodeGroupsBase

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AddNodes(AddNodesNodeGroupRequest, ServerCallContext)

public virtual Task<Operation> AddNodes(AddNodesNodeGroupRequest request, ServerCallContext context)

Adds specified number of nodes to the node group.

Parameters
NameDescription
requestAddNodesNodeGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

AggregatedList(AggregatedListNodeGroupsRequest, ServerCallContext)

public virtual Task<NodeGroupAggregatedList> AggregatedList(AggregatedListNodeGroupsRequest request, ServerCallContext context)

Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group.

Parameters
NameDescription
requestAggregatedListNodeGroupsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskNodeGroupAggregatedList

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

Delete(DeleteNodeGroupRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteNodeGroupRequest request, ServerCallContext context)

Deletes the specified NodeGroup resource.

Parameters
NameDescription
requestDeleteNodeGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

DeleteNodes(DeleteNodesNodeGroupRequest, ServerCallContext)

public virtual Task<Operation> DeleteNodes(DeleteNodesNodeGroupRequest request, ServerCallContext context)

Deletes specified nodes from the node group.

Parameters
NameDescription
requestDeleteNodesNodeGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

Get(GetNodeGroupRequest, ServerCallContext)

public virtual Task<NodeGroup> Get(GetNodeGroupRequest request, ServerCallContext context)

Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the "nodes" field should not be used. Use nodeGroups.listNodes instead.

Parameters
NameDescription
requestGetNodeGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskNodeGroup

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

GetIamPolicy(GetIamPolicyNodeGroupRequest, ServerCallContext)

public virtual Task<Policy> GetIamPolicy(GetIamPolicyNodeGroupRequest request, ServerCallContext context)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Parameters
NameDescription
requestGetIamPolicyNodeGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskPolicy

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

Insert(InsertNodeGroupRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertNodeGroupRequest request, ServerCallContext context)

Creates a NodeGroup resource in the specified project using the data included in the request.

Parameters
NameDescription
requestInsertNodeGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

List(ListNodeGroupsRequest, ServerCallContext)

public virtual Task<NodeGroupList> List(ListNodeGroupsRequest request, ServerCallContext context)

Retrieves a list of node groups available to the specified project. Note: use nodeGroups.listNodes for more details about each group.

Parameters
NameDescription
requestListNodeGroupsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskNodeGroupList

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

ListNodes(ListNodesNodeGroupsRequest, ServerCallContext)

public virtual Task<NodeGroupsListNodes> ListNodes(ListNodesNodeGroupsRequest request, ServerCallContext context)

Lists nodes in the node group.

Parameters
NameDescription
requestListNodesNodeGroupsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskNodeGroupsListNodes

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

Patch(PatchNodeGroupRequest, ServerCallContext)

public virtual Task<Operation> Patch(PatchNodeGroupRequest request, ServerCallContext context)

Updates the specified node group.

Parameters
NameDescription
requestPatchNodeGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

SetIamPolicy(SetIamPolicyNodeGroupRequest, ServerCallContext)

public virtual Task<Policy> SetIamPolicy(SetIamPolicyNodeGroupRequest request, ServerCallContext context)

Sets the access control policy on the specified resource. Replaces any existing policy.

Parameters
NameDescription
requestSetIamPolicyNodeGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskPolicy

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

SetNodeTemplate(SetNodeTemplateNodeGroupRequest, ServerCallContext)

public virtual Task<Operation> SetNodeTemplate(SetNodeTemplateNodeGroupRequest request, ServerCallContext context)

Updates the node template of the node group.

Parameters
NameDescription
requestSetNodeTemplateNodeGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

TestIamPermissions(TestIamPermissionsNodeGroupRequest, ServerCallContext)

public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsNodeGroupRequest request, ServerCallContext context)

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsNodeGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskTestPermissionsResponse

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