Class AttachedClustersGrpc.AttachedClustersFutureStub (0.41.0)

public static final class AttachedClustersGrpc.AttachedClustersFutureStub extends AbstractFutureStub<AttachedClustersGrpc.AttachedClustersFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service AttachedClusters.

The AttachedClusters API provides a single centrally managed service to register and manage Anthos attached clusters that run on customer's owned infrastructure.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > AttachedClustersGrpc.AttachedClustersFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createAttachedCluster(CreateAttachedClusterRequest request)

public ListenableFuture<Operation> createAttachedCluster(CreateAttachedClusterRequest request)

Creates a new AttachedCluster 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
Name Description
request CreateAttachedClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteAttachedCluster(DeleteAttachedClusterRequest request)

public ListenableFuture<Operation> deleteAttachedCluster(DeleteAttachedClusterRequest request)

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

Parameter
Name Description
request DeleteAttachedClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

generateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request)

public ListenableFuture<GenerateAttachedClusterAgentTokenResponse> generateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request)

Generates an access token for a cluster agent.

Parameter
Name Description
request GenerateAttachedClusterAgentTokenRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<GenerateAttachedClusterAgentTokenResponse>

generateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request)

public ListenableFuture<GenerateAttachedClusterInstallManifestResponse> generateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request)

Generates the install manifest to be installed on the target cluster.

Parameter
Name Description
request GenerateAttachedClusterInstallManifestRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<GenerateAttachedClusterInstallManifestResponse>

getAttachedCluster(GetAttachedClusterRequest request)

public ListenableFuture<AttachedCluster> getAttachedCluster(GetAttachedClusterRequest request)

Describes a specific AttachedCluster resource.

Parameter
Name Description
request GetAttachedClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AttachedCluster>

getAttachedServerConfig(GetAttachedServerConfigRequest request)

public ListenableFuture<AttachedServerConfig> getAttachedServerConfig(GetAttachedServerConfigRequest request)

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

Parameter
Name Description
request GetAttachedServerConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AttachedServerConfig>

importAttachedCluster(ImportAttachedClusterRequest request)

public ListenableFuture<Operation> importAttachedCluster(ImportAttachedClusterRequest request)

Imports creates a new AttachedCluster resource by importing an existing Fleet Membership resource. Attached Clusters created before the introduction of the Anthos Multi-Cloud API can be imported through this method. If successful, the response contains a newly created Operation resource that can be described to track the status of the operation.

Parameter
Name Description
request ImportAttachedClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

listAttachedClusters(ListAttachedClustersRequest request)

public ListenableFuture<ListAttachedClustersResponse> listAttachedClusters(ListAttachedClustersRequest request)

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

Parameter
Name Description
request ListAttachedClustersRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListAttachedClustersResponse>

updateAttachedCluster(UpdateAttachedClusterRequest request)

public ListenableFuture<Operation> updateAttachedCluster(UpdateAttachedClusterRequest request)

Updates an AttachedCluster.

Parameter
Name Description
request UpdateAttachedClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>