Class AttachedClustersGrpc.AttachedClustersFutureStub (0.40.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateAttachedClusterRequest
Returns
TypeDescription
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
NameDescription
requestDeleteAttachedClusterRequest
Returns
TypeDescription
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
NameDescription
requestGenerateAttachedClusterAgentTokenRequest
Returns
TypeDescription
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
NameDescription
requestGenerateAttachedClusterInstallManifestRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<GenerateAttachedClusterInstallManifestResponse>

getAttachedCluster(GetAttachedClusterRequest request)

public ListenableFuture<AttachedCluster> getAttachedCluster(GetAttachedClusterRequest request)

Describes a specific AttachedCluster resource.

Parameter
NameDescription
requestGetAttachedClusterRequest
Returns
TypeDescription
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
NameDescription
requestGetAttachedServerConfigRequest
Returns
TypeDescription
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
NameDescription
requestImportAttachedClusterRequest
Returns
TypeDescription
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
NameDescription
requestListAttachedClustersRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListAttachedClustersResponse>

updateAttachedCluster(UpdateAttachedClusterRequest request)

public ListenableFuture<Operation> updateAttachedCluster(UpdateAttachedClusterRequest request)

Updates an AttachedCluster.

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