Class NodeGroupControllerGrpc.NodeGroupControllerFutureStub (4.17.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateNodeGroupRequest
Returns
TypeDescription
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
NameDescription
requestGetNodeGroupRequest
Returns
TypeDescription
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
NameDescription
requestResizeNodeGroupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>