public class NodeGroups.NodeGroupsClient : ClientBase<NodeGroups.NodeGroupsClient>
Reference documentation and code samples for the Compute Engine v1 API class NodeGroups.NodeGroupsClient.
Client for NodeGroups
Inheritance
object > ClientBase > ClientBaseNodeGroupsNodeGroupsClient > NodeGroups.NodeGroupsClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
NodeGroupsClient()
protected NodeGroupsClient()
Protected parameterless constructor to allow creation of test doubles.
NodeGroupsClient(CallInvoker)
public NodeGroupsClient(CallInvoker callInvoker)
Creates a new client for NodeGroups that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
NodeGroupsClient(ChannelBase)
public NodeGroupsClient(ChannelBase channel)
Creates a new client for NodeGroups
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
NodeGroupsClient(ClientBaseConfiguration)
protected NodeGroupsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
AddNodes(AddNodesNodeGroupRequest, CallOptions)
public virtual Operation AddNodes(AddNodesNodeGroupRequest request, CallOptions options)
Adds specified number of nodes to the node group.
Parameters | |
---|---|
Name | Description |
request |
AddNodesNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
AddNodes(AddNodesNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation AddNodes(AddNodesNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Adds specified number of nodes to the node group.
Parameters | |
---|---|
Name | Description |
request |
AddNodesNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
AddNodesAsync(AddNodesNodeGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> AddNodesAsync(AddNodesNodeGroupRequest request, CallOptions options)
Adds specified number of nodes to the node group.
Parameters | |
---|---|
Name | Description |
request |
AddNodesNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
AddNodesAsync(AddNodesNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddNodesAsync(AddNodesNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Adds specified number of nodes to the node group.
Parameters | |
---|---|
Name | Description |
request |
AddNodesNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
AggregatedList(AggregatedListNodeGroupsRequest, CallOptions)
public virtual NodeGroupAggregatedList AggregatedList(AggregatedListNodeGroupsRequest request, CallOptions options)
Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group. To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Parameters | |
---|---|
Name | Description |
request |
AggregatedListNodeGroupsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
NodeGroupAggregatedList |
The response received from the server. |
AggregatedList(AggregatedListNodeGroupsRequest, Metadata, DateTime?, CancellationToken)
public virtual NodeGroupAggregatedList AggregatedList(AggregatedListNodeGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group. To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Parameters | |
---|---|
Name | Description |
request |
AggregatedListNodeGroupsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
NodeGroupAggregatedList |
The response received from the server. |
AggregatedListAsync(AggregatedListNodeGroupsRequest, CallOptions)
public virtual AsyncUnaryCall<NodeGroupAggregatedList> AggregatedListAsync(AggregatedListNodeGroupsRequest request, CallOptions options)
Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group. To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Parameters | |
---|---|
Name | Description |
request |
AggregatedListNodeGroupsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallNodeGroupAggregatedList |
The call object. |
AggregatedListAsync(AggregatedListNodeGroupsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<NodeGroupAggregatedList> AggregatedListAsync(AggregatedListNodeGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group. To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Parameters | |
---|---|
Name | Description |
request |
AggregatedListNodeGroupsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallNodeGroupAggregatedList |
The call object. |
CreateOperationsClientForZoneOperations()
public virtual Operations.OperationsClient CreateOperationsClientForZoneOperations()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to ZoneOperations.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
Delete(DeleteNodeGroupRequest, CallOptions)
public virtual Operation Delete(DeleteNodeGroupRequest request, CallOptions options)
Deletes the specified NodeGroup resource.
Parameters | |
---|---|
Name | Description |
request |
DeleteNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
Delete(DeleteNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Delete(DeleteNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified NodeGroup resource.
Parameters | |
---|---|
Name | Description |
request |
DeleteNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteAsync(DeleteNodeGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteNodeGroupRequest request, CallOptions options)
Deletes the specified NodeGroup resource.
Parameters | |
---|---|
Name | Description |
request |
DeleteNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteAsync(DeleteNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified NodeGroup resource.
Parameters | |
---|---|
Name | Description |
request |
DeleteNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteNodes(DeleteNodesNodeGroupRequest, CallOptions)
public virtual Operation DeleteNodes(DeleteNodesNodeGroupRequest request, CallOptions options)
Deletes specified nodes from the node group.
Parameters | |
---|---|
Name | Description |
request |
DeleteNodesNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteNodes(DeleteNodesNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteNodes(DeleteNodesNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes specified nodes from the node group.
Parameters | |
---|---|
Name | Description |
request |
DeleteNodesNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteNodesAsync(DeleteNodesNodeGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteNodesAsync(DeleteNodesNodeGroupRequest request, CallOptions options)
Deletes specified nodes from the node group.
Parameters | |
---|---|
Name | Description |
request |
DeleteNodesNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteNodesAsync(DeleteNodesNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteNodesAsync(DeleteNodesNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes specified nodes from the node group.
Parameters | |
---|---|
Name | Description |
request |
DeleteNodesNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
Get(GetNodeGroupRequest, CallOptions)
public virtual NodeGroup Get(GetNodeGroupRequest request, CallOptions options)
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 |
GetNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
NodeGroup |
The response received from the server. |
Get(GetNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual NodeGroup Get(GetNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 |
GetNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
NodeGroup |
The response received from the server. |
GetAsync(GetNodeGroupRequest, CallOptions)
public virtual AsyncUnaryCall<NodeGroup> GetAsync(GetNodeGroupRequest request, CallOptions options)
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 |
GetNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallNodeGroup |
The call object. |
GetAsync(GetNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<NodeGroup> GetAsync(GetNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 |
GetNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallNodeGroup |
The call object. |
GetIamPolicy(GetIamPolicyNodeGroupRequest, CallOptions)
public virtual Policy GetIamPolicy(GetIamPolicyNodeGroupRequest request, CallOptions options)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request |
GetIamPolicyNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Policy |
The response received from the server. |
GetIamPolicy(GetIamPolicyNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Policy GetIamPolicy(GetIamPolicyNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request |
GetIamPolicyNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Policy |
The response received from the server. |
GetIamPolicyAsync(GetIamPolicyNodeGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyNodeGroupRequest request, CallOptions options)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request |
GetIamPolicyNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy |
The call object. |
GetIamPolicyAsync(GetIamPolicyNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request |
GetIamPolicyNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy |
The call object. |
Insert(InsertNodeGroupRequest, CallOptions)
public virtual Operation Insert(InsertNodeGroupRequest request, CallOptions options)
Creates a NodeGroup resource in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
InsertNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
Insert(InsertNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Insert(InsertNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a NodeGroup resource in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
InsertNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
InsertAsync(InsertNodeGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertNodeGroupRequest request, CallOptions options)
Creates a NodeGroup resource in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
InsertNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
InsertAsync(InsertNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a NodeGroup resource in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
InsertNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
List(ListNodeGroupsRequest, CallOptions)
public virtual NodeGroupList List(ListNodeGroupsRequest request, CallOptions options)
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 |
ListNodeGroupsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
NodeGroupList |
The response received from the server. |
List(ListNodeGroupsRequest, Metadata, DateTime?, CancellationToken)
public virtual NodeGroupList List(ListNodeGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 |
ListNodeGroupsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
NodeGroupList |
The response received from the server. |
ListAsync(ListNodeGroupsRequest, CallOptions)
public virtual AsyncUnaryCall<NodeGroupList> ListAsync(ListNodeGroupsRequest request, CallOptions options)
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 |
ListNodeGroupsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallNodeGroupList |
The call object. |
ListAsync(ListNodeGroupsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<NodeGroupList> ListAsync(ListNodeGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 |
ListNodeGroupsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallNodeGroupList |
The call object. |
ListNodes(ListNodesNodeGroupsRequest, CallOptions)
public virtual NodeGroupsListNodes ListNodes(ListNodesNodeGroupsRequest request, CallOptions options)
Lists nodes in the node group.
Parameters | |
---|---|
Name | Description |
request |
ListNodesNodeGroupsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
NodeGroupsListNodes |
The response received from the server. |
ListNodes(ListNodesNodeGroupsRequest, Metadata, DateTime?, CancellationToken)
public virtual NodeGroupsListNodes ListNodes(ListNodesNodeGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists nodes in the node group.
Parameters | |
---|---|
Name | Description |
request |
ListNodesNodeGroupsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
NodeGroupsListNodes |
The response received from the server. |
ListNodesAsync(ListNodesNodeGroupsRequest, CallOptions)
public virtual AsyncUnaryCall<NodeGroupsListNodes> ListNodesAsync(ListNodesNodeGroupsRequest request, CallOptions options)
Lists nodes in the node group.
Parameters | |
---|---|
Name | Description |
request |
ListNodesNodeGroupsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallNodeGroupsListNodes |
The call object. |
ListNodesAsync(ListNodesNodeGroupsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<NodeGroupsListNodes> ListNodesAsync(ListNodesNodeGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists nodes in the node group.
Parameters | |
---|---|
Name | Description |
request |
ListNodesNodeGroupsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallNodeGroupsListNodes |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override NodeGroups.NodeGroupsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
NodeGroupsNodeGroupsClient |
Patch(PatchNodeGroupRequest, CallOptions)
public virtual Operation Patch(PatchNodeGroupRequest request, CallOptions options)
Updates the specified node group.
Parameters | |
---|---|
Name | Description |
request |
PatchNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
Patch(PatchNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Patch(PatchNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the specified node group.
Parameters | |
---|---|
Name | Description |
request |
PatchNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
PatchAsync(PatchNodeGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchNodeGroupRequest request, CallOptions options)
Updates the specified node group.
Parameters | |
---|---|
Name | Description |
request |
PatchNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
PatchAsync(PatchNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the specified node group.
Parameters | |
---|---|
Name | Description |
request |
PatchNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
PerformMaintenance(PerformMaintenanceNodeGroupRequest, CallOptions)
public virtual Operation PerformMaintenance(PerformMaintenanceNodeGroupRequest request, CallOptions options)
Perform maintenance on a subset of nodes in the node group.
Parameters | |
---|---|
Name | Description |
request |
PerformMaintenanceNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
PerformMaintenance(PerformMaintenanceNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation PerformMaintenance(PerformMaintenanceNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Perform maintenance on a subset of nodes in the node group.
Parameters | |
---|---|
Name | Description |
request |
PerformMaintenanceNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
PerformMaintenanceAsync(PerformMaintenanceNodeGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PerformMaintenanceAsync(PerformMaintenanceNodeGroupRequest request, CallOptions options)
Perform maintenance on a subset of nodes in the node group.
Parameters | |
---|---|
Name | Description |
request |
PerformMaintenanceNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
PerformMaintenanceAsync(PerformMaintenanceNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> PerformMaintenanceAsync(PerformMaintenanceNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Perform maintenance on a subset of nodes in the node group.
Parameters | |
---|---|
Name | Description |
request |
PerformMaintenanceNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
SetIamPolicy(SetIamPolicyNodeGroupRequest, CallOptions)
public virtual Policy SetIamPolicy(SetIamPolicyNodeGroupRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request |
SetIamPolicyNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Policy |
The response received from the server. |
SetIamPolicy(SetIamPolicyNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Policy SetIamPolicy(SetIamPolicyNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request |
SetIamPolicyNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Policy |
The response received from the server. |
SetIamPolicyAsync(SetIamPolicyNodeGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyNodeGroupRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request |
SetIamPolicyNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy |
The call object. |
SetIamPolicyAsync(SetIamPolicyNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request |
SetIamPolicyNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy |
The call object. |
SetNodeTemplate(SetNodeTemplateNodeGroupRequest, CallOptions)
public virtual Operation SetNodeTemplate(SetNodeTemplateNodeGroupRequest request, CallOptions options)
Updates the node template of the node group.
Parameters | |
---|---|
Name | Description |
request |
SetNodeTemplateNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
SetNodeTemplate(SetNodeTemplateNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation SetNodeTemplate(SetNodeTemplateNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the node template of the node group.
Parameters | |
---|---|
Name | Description |
request |
SetNodeTemplateNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
SetNodeTemplateAsync(SetNodeTemplateNodeGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> SetNodeTemplateAsync(SetNodeTemplateNodeGroupRequest request, CallOptions options)
Updates the node template of the node group.
Parameters | |
---|---|
Name | Description |
request |
SetNodeTemplateNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
SetNodeTemplateAsync(SetNodeTemplateNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> SetNodeTemplateAsync(SetNodeTemplateNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the node template of the node group.
Parameters | |
---|---|
Name | Description |
request |
SetNodeTemplateNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
SimulateMaintenanceEvent(SimulateMaintenanceEventNodeGroupRequest, CallOptions)
public virtual Operation SimulateMaintenanceEvent(SimulateMaintenanceEventNodeGroupRequest request, CallOptions options)
Simulates maintenance event on specified nodes from the node group.
Parameters | |
---|---|
Name | Description |
request |
SimulateMaintenanceEventNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
SimulateMaintenanceEvent(SimulateMaintenanceEventNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation SimulateMaintenanceEvent(SimulateMaintenanceEventNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Simulates maintenance event on specified nodes from the node group.
Parameters | |
---|---|
Name | Description |
request |
SimulateMaintenanceEventNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
SimulateMaintenanceEventAsync(SimulateMaintenanceEventNodeGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> SimulateMaintenanceEventAsync(SimulateMaintenanceEventNodeGroupRequest request, CallOptions options)
Simulates maintenance event on specified nodes from the node group.
Parameters | |
---|---|
Name | Description |
request |
SimulateMaintenanceEventNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
SimulateMaintenanceEventAsync(SimulateMaintenanceEventNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> SimulateMaintenanceEventAsync(SimulateMaintenanceEventNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Simulates maintenance event on specified nodes from the node group.
Parameters | |
---|---|
Name | Description |
request |
SimulateMaintenanceEventNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
TestIamPermissions(TestIamPermissionsNodeGroupRequest, CallOptions)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsNodeGroupRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TestPermissionsResponse |
The response received from the server. |
TestIamPermissions(TestIamPermissionsNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
TestPermissionsResponse |
The response received from the server. |
TestIamPermissionsAsync(TestIamPermissionsNodeGroupRequest, CallOptions)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsNodeGroupRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsNodeGroupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTestPermissionsResponse |
The call object. |
TestIamPermissionsAsync(TestIamPermissionsNodeGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsNodeGroupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTestPermissionsResponse |
The call object. |