Class AwsClustersGrpc.AwsClustersStub (0.52.0)

public static final class AwsClustersGrpc.AwsClustersStub extends AbstractAsyncStub<AwsClustersGrpc.AwsClustersStub>

A stub to allow clients to do asynchronous rpc calls to service AwsClusters.

The AwsClusters API provides a single centrally managed service to create and manage Anthos clusters that run on AWS infrastructure.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > AwsClustersGrpc.AwsClustersStub

Methods

build(Channel channel, CallOptions callOptions)

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

createAwsCluster(CreateAwsClusterRequest request, StreamObserver<Operation> responseObserver)

public void createAwsCluster(CreateAwsClusterRequest request, StreamObserver<Operation> responseObserver)

Creates a new AwsCluster resource on a given Google Cloud Platform project and region. If successful, the response contains a newly created Operation resource that can be described to track the status of the operation.

Parameters
Name Description
request CreateAwsClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createAwsNodePool(CreateAwsNodePoolRequest request, StreamObserver<Operation> responseObserver)

public void createAwsNodePool(CreateAwsNodePoolRequest request, StreamObserver<Operation> responseObserver)

Creates a new AwsNodePool, attached to a given AwsCluster. If successful, the response contains a newly created Operation resource that can be described to track the status of the operation.

Parameters
Name Description
request CreateAwsNodePoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteAwsCluster(DeleteAwsClusterRequest request, StreamObserver<Operation> responseObserver)

public void deleteAwsCluster(DeleteAwsClusterRequest request, StreamObserver<Operation> responseObserver)

Deletes a specific AwsCluster resource. Fails if the cluster has one or more associated AwsNodePool resources. If successful, the response contains a newly created Operation resource that can be described to track the status of the operation.

Parameters
Name Description
request DeleteAwsClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteAwsNodePool(DeleteAwsNodePoolRequest request, StreamObserver<Operation> responseObserver)

public void deleteAwsNodePool(DeleteAwsNodePoolRequest request, StreamObserver<Operation> responseObserver)

Deletes a specific AwsNodePool resource. If successful, the response contains a newly created Operation resource that can be described to track the status of the operation.

Parameters
Name Description
request DeleteAwsNodePoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

generateAwsAccessToken(GenerateAwsAccessTokenRequest request, StreamObserver<GenerateAwsAccessTokenResponse> responseObserver)

public void generateAwsAccessToken(GenerateAwsAccessTokenRequest request, StreamObserver<GenerateAwsAccessTokenResponse> responseObserver)

Generates a short-lived access token to authenticate to a given AwsCluster resource.

Parameters
Name Description
request GenerateAwsAccessTokenRequest
responseObserver io.grpc.stub.StreamObserver<GenerateAwsAccessTokenResponse>

generateAwsClusterAgentToken(GenerateAwsClusterAgentTokenRequest request, StreamObserver<GenerateAwsClusterAgentTokenResponse> responseObserver)

public void generateAwsClusterAgentToken(GenerateAwsClusterAgentTokenRequest request, StreamObserver<GenerateAwsClusterAgentTokenResponse> responseObserver)

Generates an access token for a cluster agent.

Parameters
Name Description
request GenerateAwsClusterAgentTokenRequest
responseObserver io.grpc.stub.StreamObserver<GenerateAwsClusterAgentTokenResponse>

getAwsCluster(GetAwsClusterRequest request, StreamObserver<AwsCluster> responseObserver)

public void getAwsCluster(GetAwsClusterRequest request, StreamObserver<AwsCluster> responseObserver)

Describes a specific AwsCluster resource.

Parameters
Name Description
request GetAwsClusterRequest
responseObserver io.grpc.stub.StreamObserver<AwsCluster>

getAwsJsonWebKeys(GetAwsJsonWebKeysRequest request, StreamObserver<AwsJsonWebKeys> responseObserver)

public void getAwsJsonWebKeys(GetAwsJsonWebKeysRequest request, StreamObserver<AwsJsonWebKeys> responseObserver)

Gets the public component of the cluster signing keys in JSON Web Key format.

Parameters
Name Description
request GetAwsJsonWebKeysRequest
responseObserver io.grpc.stub.StreamObserver<AwsJsonWebKeys>

getAwsNodePool(GetAwsNodePoolRequest request, StreamObserver<AwsNodePool> responseObserver)

public void getAwsNodePool(GetAwsNodePoolRequest request, StreamObserver<AwsNodePool> responseObserver)

Describes a specific AwsNodePool resource.

Parameters
Name Description
request GetAwsNodePoolRequest
responseObserver io.grpc.stub.StreamObserver<AwsNodePool>

getAwsOpenIdConfig(GetAwsOpenIdConfigRequest request, StreamObserver<AwsOpenIdConfig> responseObserver)

public void getAwsOpenIdConfig(GetAwsOpenIdConfigRequest request, StreamObserver<AwsOpenIdConfig> responseObserver)

Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

Parameters
Name Description
request GetAwsOpenIdConfigRequest
responseObserver io.grpc.stub.StreamObserver<AwsOpenIdConfig>

getAwsServerConfig(GetAwsServerConfigRequest request, StreamObserver<AwsServerConfig> responseObserver)

public void getAwsServerConfig(GetAwsServerConfigRequest request, StreamObserver<AwsServerConfig> responseObserver)

Returns information, such as supported AWS regions and Kubernetes versions, on a given Google Cloud location.

Parameters
Name Description
request GetAwsServerConfigRequest
responseObserver io.grpc.stub.StreamObserver<AwsServerConfig>

listAwsClusters(ListAwsClustersRequest request, StreamObserver<ListAwsClustersResponse> responseObserver)

public void listAwsClusters(ListAwsClustersRequest request, StreamObserver<ListAwsClustersResponse> responseObserver)

Lists all AwsCluster resources on a given Google Cloud project and region.

Parameters
Name Description
request ListAwsClustersRequest
responseObserver io.grpc.stub.StreamObserver<ListAwsClustersResponse>

listAwsNodePools(ListAwsNodePoolsRequest request, StreamObserver<ListAwsNodePoolsResponse> responseObserver)

public void listAwsNodePools(ListAwsNodePoolsRequest request, StreamObserver<ListAwsNodePoolsResponse> responseObserver)

Lists all AwsNodePool resources on a given AwsCluster.

Parameters
Name Description
request ListAwsNodePoolsRequest
responseObserver io.grpc.stub.StreamObserver<ListAwsNodePoolsResponse>

rollbackAwsNodePoolUpdate(RollbackAwsNodePoolUpdateRequest request, StreamObserver<Operation> responseObserver)

public void rollbackAwsNodePoolUpdate(RollbackAwsNodePoolUpdateRequest request, StreamObserver<Operation> responseObserver)

Rolls back a previously aborted or failed AwsNodePool update request. Makes no changes if the last update request successfully finished. If an update request is in progress, you cannot rollback the update. You must first cancel or let it finish unsuccessfully before you can rollback.

Parameters
Name Description
request RollbackAwsNodePoolUpdateRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateAwsCluster(UpdateAwsClusterRequest request, StreamObserver<Operation> responseObserver)

public void updateAwsCluster(UpdateAwsClusterRequest request, StreamObserver<Operation> responseObserver)

Updates an AwsCluster.

Parameters
Name Description
request UpdateAwsClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateAwsNodePool(UpdateAwsNodePoolRequest request, StreamObserver<Operation> responseObserver)

public void updateAwsNodePool(UpdateAwsNodePoolRequest request, StreamObserver<Operation> responseObserver)

Updates an AwsNodePool.

Parameters
Name Description
request UpdateAwsNodePoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>