Class NodeGroupControllerGrpc.NodeGroupControllerStub (4.46.0)

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

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > NodeGroupControllerGrpc.NodeGroupControllerStub

Methods

build(Channel channel, CallOptions callOptions)

protected NodeGroupControllerGrpc.NodeGroupControllerStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateNodeGroupRequest
responseObserver io.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
Name Description
request GetNodeGroupRequest
responseObserver io.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
Name Description
request ResizeNodeGroupRequest
responseObserver io.grpc.stub.StreamObserver<Operation>