Class AttachedClustersGrpc.AttachedClustersStub (0.45.0)

public static final class AttachedClustersGrpc.AttachedClustersStub extends AbstractAsyncStub<AttachedClustersGrpc.AttachedClustersStub>

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

Methods

build(Channel channel, CallOptions callOptions)

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

createAttachedCluster(CreateAttachedClusterRequest request, StreamObserver<Operation> responseObserver)

public void createAttachedCluster(CreateAttachedClusterRequest request, StreamObserver<Operation> responseObserver)

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.

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

deleteAttachedCluster(DeleteAttachedClusterRequest request, StreamObserver<Operation> responseObserver)

public void deleteAttachedCluster(DeleteAttachedClusterRequest request, StreamObserver<Operation> responseObserver)

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.

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

generateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request, StreamObserver<GenerateAttachedClusterAgentTokenResponse> responseObserver)

public void generateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request, StreamObserver<GenerateAttachedClusterAgentTokenResponse> responseObserver)

Generates an access token for a cluster agent.

Parameters
Name Description
request GenerateAttachedClusterAgentTokenRequest
responseObserver io.grpc.stub.StreamObserver<GenerateAttachedClusterAgentTokenResponse>

generateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request, StreamObserver<GenerateAttachedClusterInstallManifestResponse> responseObserver)

public void generateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request, StreamObserver<GenerateAttachedClusterInstallManifestResponse> responseObserver)

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

Parameters
Name Description
request GenerateAttachedClusterInstallManifestRequest
responseObserver io.grpc.stub.StreamObserver<GenerateAttachedClusterInstallManifestResponse>

getAttachedCluster(GetAttachedClusterRequest request, StreamObserver<AttachedCluster> responseObserver)

public void getAttachedCluster(GetAttachedClusterRequest request, StreamObserver<AttachedCluster> responseObserver)

Describes a specific AttachedCluster resource.

Parameters
Name Description
request GetAttachedClusterRequest
responseObserver io.grpc.stub.StreamObserver<AttachedCluster>

getAttachedServerConfig(GetAttachedServerConfigRequest request, StreamObserver<AttachedServerConfig> responseObserver)

public void getAttachedServerConfig(GetAttachedServerConfigRequest request, StreamObserver<AttachedServerConfig> responseObserver)

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

Parameters
Name Description
request GetAttachedServerConfigRequest
responseObserver io.grpc.stub.StreamObserver<AttachedServerConfig>

importAttachedCluster(ImportAttachedClusterRequest request, StreamObserver<Operation> responseObserver)

public void importAttachedCluster(ImportAttachedClusterRequest request, StreamObserver<Operation> responseObserver)

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.

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

listAttachedClusters(ListAttachedClustersRequest request, StreamObserver<ListAttachedClustersResponse> responseObserver)

public void listAttachedClusters(ListAttachedClustersRequest request, StreamObserver<ListAttachedClustersResponse> responseObserver)

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

Parameters
Name Description
request ListAttachedClustersRequest
responseObserver io.grpc.stub.StreamObserver<ListAttachedClustersResponse>

updateAttachedCluster(UpdateAttachedClusterRequest request, StreamObserver<Operation> responseObserver)

public void updateAttachedCluster(UpdateAttachedClusterRequest request, StreamObserver<Operation> responseObserver)

Updates an AttachedCluster.

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