Class AwsClustersGrpc.AwsClustersFutureStub (0.35.0)

public static final class AwsClustersGrpc.AwsClustersFutureStub extends AbstractFutureStub<AwsClustersGrpc.AwsClustersFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > AwsClustersGrpc.AwsClustersFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createAwsCluster(CreateAwsClusterRequest request)

public ListenableFuture<Operation> createAwsCluster(CreateAwsClusterRequest request)

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.

Parameter
NameDescription
requestCreateAwsClusterRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createAwsNodePool(CreateAwsNodePoolRequest request)

public ListenableFuture<Operation> createAwsNodePool(CreateAwsNodePoolRequest request)

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.

Parameter
NameDescription
requestCreateAwsNodePoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteAwsCluster(DeleteAwsClusterRequest request)

public ListenableFuture<Operation> deleteAwsCluster(DeleteAwsClusterRequest request)

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.

Parameter
NameDescription
requestDeleteAwsClusterRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteAwsNodePool(DeleteAwsNodePoolRequest request)

public ListenableFuture<Operation> deleteAwsNodePool(DeleteAwsNodePoolRequest request)

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.

Parameter
NameDescription
requestDeleteAwsNodePoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

generateAwsAccessToken(GenerateAwsAccessTokenRequest request)

public ListenableFuture<GenerateAwsAccessTokenResponse> generateAwsAccessToken(GenerateAwsAccessTokenRequest request)

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

Parameter
NameDescription
requestGenerateAwsAccessTokenRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<GenerateAwsAccessTokenResponse>

generateAwsClusterAgentToken(GenerateAwsClusterAgentTokenRequest request)

public ListenableFuture<GenerateAwsClusterAgentTokenResponse> generateAwsClusterAgentToken(GenerateAwsClusterAgentTokenRequest request)

Generates an access token for a cluster agent.

Parameter
NameDescription
requestGenerateAwsClusterAgentTokenRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<GenerateAwsClusterAgentTokenResponse>

getAwsCluster(GetAwsClusterRequest request)

public ListenableFuture<AwsCluster> getAwsCluster(GetAwsClusterRequest request)

Describes a specific AwsCluster resource.

Parameter
NameDescription
requestGetAwsClusterRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<AwsCluster>

getAwsJsonWebKeys(GetAwsJsonWebKeysRequest request)

public ListenableFuture<AwsJsonWebKeys> getAwsJsonWebKeys(GetAwsJsonWebKeysRequest request)

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

Parameter
NameDescription
requestGetAwsJsonWebKeysRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<AwsJsonWebKeys>

getAwsNodePool(GetAwsNodePoolRequest request)

public ListenableFuture<AwsNodePool> getAwsNodePool(GetAwsNodePoolRequest request)

Describes a specific AwsNodePool resource.

Parameter
NameDescription
requestGetAwsNodePoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<AwsNodePool>

getAwsOpenIdConfig(GetAwsOpenIdConfigRequest request)

public ListenableFuture<AwsOpenIdConfig> getAwsOpenIdConfig(GetAwsOpenIdConfigRequest request)

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

Parameter
NameDescription
requestGetAwsOpenIdConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<AwsOpenIdConfig>

getAwsServerConfig(GetAwsServerConfigRequest request)

public ListenableFuture<AwsServerConfig> getAwsServerConfig(GetAwsServerConfigRequest request)

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

Parameter
NameDescription
requestGetAwsServerConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<AwsServerConfig>

listAwsClusters(ListAwsClustersRequest request)

public ListenableFuture<ListAwsClustersResponse> listAwsClusters(ListAwsClustersRequest request)

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

Parameter
NameDescription
requestListAwsClustersRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListAwsClustersResponse>

listAwsNodePools(ListAwsNodePoolsRequest request)

public ListenableFuture<ListAwsNodePoolsResponse> listAwsNodePools(ListAwsNodePoolsRequest request)

Lists all AwsNodePool resources on a given AwsCluster.

Parameter
NameDescription
requestListAwsNodePoolsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListAwsNodePoolsResponse>

rollbackAwsNodePoolUpdate(RollbackAwsNodePoolUpdateRequest request)

public ListenableFuture<Operation> rollbackAwsNodePoolUpdate(RollbackAwsNodePoolUpdateRequest request)

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.

Parameter
NameDescription
requestRollbackAwsNodePoolUpdateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateAwsCluster(UpdateAwsClusterRequest request)

public ListenableFuture<Operation> updateAwsCluster(UpdateAwsClusterRequest request)

Updates an AwsCluster.

Parameter
NameDescription
requestUpdateAwsClusterRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateAwsNodePool(UpdateAwsNodePoolRequest request)

public ListenableFuture<Operation> updateAwsNodePool(UpdateAwsNodePoolRequest request)

Updates an AwsNodePool.

Parameter
NameDescription
requestUpdateAwsNodePoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>