[BindServiceMethod(typeof(NodeGroups), "BindService")]
public abstract class NodeGroups.NodeGroupsBaseReference documentation and code samples for the Compute Engine v1 API class NodeGroups.NodeGroupsBase.
Base class for server-side implementations of NodeGroups
Namespace
Google.Cloud.Compute.V1Assembly
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 | |
|---|---|
| Name | Description | 
request | 
        AddNodesNodeGroupRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
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 | |
|---|---|
| Name | Description | 
request | 
        AggregatedListNodeGroupsRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
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 | |
|---|---|
| Name | Description | 
request | 
        DeleteNodeGroupRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
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 | |
|---|---|
| Name | Description | 
request | 
        DeleteNodesNodeGroupRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
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 | |
|---|---|
| Name | Description | 
request | 
        GetNodeGroupRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
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 | |
|---|---|
| Name | Description | 
request | 
        GetIamPolicyNodeGroupRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
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 | |
|---|---|
| Name | Description | 
request | 
        InsertNodeGroupRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
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 | |
|---|---|
| Name | Description | 
request | 
        ListNodeGroupsRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
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 | |
|---|---|
| Name | Description | 
request | 
        ListNodesNodeGroupsRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
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 | |
|---|---|
| Name | Description | 
request | 
        PatchNodeGroupRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
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 | |
|---|---|
| Name | Description | 
request | 
        SetIamPolicyNodeGroupRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
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 | |
|---|---|
| Name | Description | 
request | 
        SetNodeTemplateNodeGroupRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskOperation | 
        The response to send back to the client (wrapped by a task).  | 
      
SimulateMaintenanceEvent(SimulateMaintenanceEventNodeGroupRequest, ServerCallContext)
public virtual Task<Operation> SimulateMaintenanceEvent(SimulateMaintenanceEventNodeGroupRequest request, ServerCallContext context)Simulates maintenance event on specified nodes from the node group.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        SimulateMaintenanceEventNodeGroupRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
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 | |
|---|---|
| Name | Description | 
request | 
        TestIamPermissionsNodeGroupRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskTestPermissionsResponse | 
        The response to send back to the client (wrapped by a task).  |