Class NodeGroupControllerGrpc.NodeGroupControllerStub (4.8.0)

public static final class NodeGroupControllerGrpc.NodeGroupControllerStub extends AbstractAsyncStub<NodeGroupControllerGrpc.NodeGroupControllerStub>

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > NodeGroupControllerGrpc.NodeGroupControllerStub

Methods

build(Channel channel, CallOptions callOptions)

protected NodeGroupControllerGrpc.NodeGroupControllerStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
NodeGroupControllerGrpc.NodeGroupControllerStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createNodeGroup(CreateNodeGroupRequest request, StreamObserver<Operation> responseObserver)

public void createNodeGroup(CreateNodeGroupRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
NameDescription
requestCreateNodeGroupRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getNodeGroup(GetNodeGroupRequest request, StreamObserver<NodeGroup> responseObserver)

public void getNodeGroup(GetNodeGroupRequest request, StreamObserver<NodeGroup> responseObserver)

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

Parameters
NameDescription
requestGetNodeGroupRequest
responseObserverio.grpc.stub.StreamObserver<NodeGroup>

resizeNodeGroup(ResizeNodeGroupRequest request, StreamObserver<Operation> responseObserver)

public void resizeNodeGroup(ResizeNodeGroupRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
NameDescription
requestResizeNodeGroupRequest
responseObserverio.grpc.stub.StreamObserver<Operation>