Class AttachedClustersGrpc.AttachedClustersStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<AttachedClustersGrpc.AttachedClustersStub>
-
- com.google.cloud.gkemulticloud.v1.AttachedClustersGrpc.AttachedClustersStub
-
- Enclosing class:
- AttachedClustersGrpc
public static final class AttachedClustersGrpc.AttachedClustersStub extends io.grpc.stub.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AttachedClustersGrpc.AttachedClustersStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
createAttachedCluster(CreateAttachedClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a given Google Cloud Platform project and region.void
deleteAttachedCluster(DeleteAttachedClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.void
generateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request, io.grpc.stub.StreamObserver<GenerateAttachedClusterInstallManifestResponse> responseObserver)
Generates the install manifest to be installed on the target cluster.void
getAttachedCluster(GetAttachedClusterRequest request, io.grpc.stub.StreamObserver<AttachedCluster> responseObserver)
Describes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.void
getAttachedServerConfig(GetAttachedServerConfigRequest request, io.grpc.stub.StreamObserver<AttachedServerConfig> responseObserver)
Returns information, such as supported Kubernetes versions, on a given Google Cloud location.void
importAttachedCluster(ImportAttachedClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Imports creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource by importing an existing Fleet Membership resource.void
listAttachedClusters(ListAttachedClustersRequest request, io.grpc.stub.StreamObserver<ListAttachedClustersResponse> responseObserver)
Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources on a given Google Cloud project and region.void
updateAttachedCluster(UpdateAttachedClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates an [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
-
-
-
Method Detail
-
build
protected AttachedClustersGrpc.AttachedClustersStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<AttachedClustersGrpc.AttachedClustersStub>
-
createAttachedCluster
public void createAttachedCluster(CreateAttachedClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a given Google Cloud Platform project and region. If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
-
updateAttachedCluster
public void updateAttachedCluster(UpdateAttachedClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates an [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
-
importAttachedCluster
public void importAttachedCluster(ImportAttachedClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Imports creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.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][google.longrunning.Operation] resource that can be described to track the status of the operation.
-
getAttachedCluster
public void getAttachedCluster(GetAttachedClusterRequest request, io.grpc.stub.StreamObserver<AttachedCluster> responseObserver)
Describes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
-
listAttachedClusters
public void listAttachedClusters(ListAttachedClustersRequest request, io.grpc.stub.StreamObserver<ListAttachedClustersResponse> responseObserver)
Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources on a given Google Cloud project and region.
-
deleteAttachedCluster
public void deleteAttachedCluster(DeleteAttachedClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource. If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
-
getAttachedServerConfig
public void getAttachedServerConfig(GetAttachedServerConfigRequest request, io.grpc.stub.StreamObserver<AttachedServerConfig> responseObserver)
Returns information, such as supported Kubernetes versions, on a given Google Cloud location.
-
generateAttachedClusterInstallManifest
public void generateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request, io.grpc.stub.StreamObserver<GenerateAttachedClusterInstallManifestResponse> responseObserver)
Generates the install manifest to be installed on the target cluster.
-
-