Class AttachedClustersGrpc.AttachedClustersBlockingStub (0.53.0)

public static final class AttachedClustersGrpc.AttachedClustersBlockingStub extends AbstractBlockingStub<AttachedClustersGrpc.AttachedClustersBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > AttachedClustersGrpc.AttachedClustersBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createAttachedCluster(CreateAttachedClusterRequest request)

public 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
Operation

deleteAttachedCluster(DeleteAttachedClusterRequest request)

public 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
Operation

generateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request)

public GenerateAttachedClusterAgentTokenResponse generateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request)

Generates an access token for a cluster agent.

Parameter
Name Description
request GenerateAttachedClusterAgentTokenRequest
Returns
Type Description
GenerateAttachedClusterAgentTokenResponse

generateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request)

public GenerateAttachedClusterInstallManifestResponse generateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request)

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

Parameter
Name Description
request GenerateAttachedClusterInstallManifestRequest
Returns
Type Description
GenerateAttachedClusterInstallManifestResponse

getAttachedCluster(GetAttachedClusterRequest request)

public AttachedCluster getAttachedCluster(GetAttachedClusterRequest request)

Describes a specific AttachedCluster resource.

Parameter
Name Description
request GetAttachedClusterRequest
Returns
Type Description
AttachedCluster

getAttachedServerConfig(GetAttachedServerConfigRequest request)

public 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
AttachedServerConfig

importAttachedCluster(ImportAttachedClusterRequest request)

public 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
Operation

listAttachedClusters(ListAttachedClustersRequest request)

public ListAttachedClustersResponse listAttachedClusters(ListAttachedClustersRequest request)

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

Parameter
Name Description
request ListAttachedClustersRequest
Returns
Type Description
ListAttachedClustersResponse

updateAttachedCluster(UpdateAttachedClusterRequest request)

public Operation updateAttachedCluster(UpdateAttachedClusterRequest request)

Updates an AttachedCluster.

Parameter
Name Description
request UpdateAttachedClusterRequest
Returns
Type Description
Operation