Class NodeGroupControllerGrpc.NodeGroupControllerFutureStub (4.40.0)

public static final class NodeGroupControllerGrpc.NodeGroupControllerFutureStub extends AbstractFutureStub<NodeGroupControllerGrpc.NodeGroupControllerFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service NodeGroupController.

The NodeGroupControllerService provides methods to manage node groups of Compute Engine managed instances.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > NodeGroupControllerGrpc.NodeGroupControllerFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected NodeGroupControllerGrpc.NodeGroupControllerFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
NodeGroupControllerGrpc.NodeGroupControllerFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createNodeGroup(CreateNodeGroupRequest request)

public ListenableFuture<Operation> createNodeGroup(CreateNodeGroupRequest request)

Creates a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata.

Parameter
Name Description
request CreateNodeGroupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getNodeGroup(GetNodeGroupRequest request)

public ListenableFuture<NodeGroup> getNodeGroup(GetNodeGroupRequest request)

Gets the resource representation for a node group in a cluster.

Parameter
Name Description
request GetNodeGroupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<NodeGroup>

resizeNodeGroup(ResizeNodeGroupRequest request)

public ListenableFuture<Operation> resizeNodeGroup(ResizeNodeGroupRequest request)

Resizes a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata.

Parameter
Name Description
request ResizeNodeGroupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>