Interface EdgeContainerGrpc.AsyncService (0.40.0)

public static interface EdgeContainerGrpc.AsyncService

EdgeContainer API provides management of Kubernetes Clusters on Google Edge Cloud deployments.

Methods

createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)

public default void createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)

Creates a new Cluster in a given project and location.

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

createNodePool(CreateNodePoolRequest request, StreamObserver<Operation> responseObserver)

public default void createNodePool(CreateNodePoolRequest request, StreamObserver<Operation> responseObserver)

Creates a new NodePool in a given project and location.

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

createVpnConnection(CreateVpnConnectionRequest request, StreamObserver<Operation> responseObserver)

public default void createVpnConnection(CreateVpnConnectionRequest request, StreamObserver<Operation> responseObserver)

Creates a new VPN connection in a given project and location.

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

deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)

public default void deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Cluster.

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

deleteNodePool(DeleteNodePoolRequest request, StreamObserver<Operation> responseObserver)

public default void deleteNodePool(DeleteNodePoolRequest request, StreamObserver<Operation> responseObserver)

Deletes a single NodePool.

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

deleteVpnConnection(DeleteVpnConnectionRequest request, StreamObserver<Operation> responseObserver)

public default void deleteVpnConnection(DeleteVpnConnectionRequest request, StreamObserver<Operation> responseObserver)

Deletes a single VPN connection.

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

generateAccessToken(GenerateAccessTokenRequest request, StreamObserver<GenerateAccessTokenResponse> responseObserver)

public default void generateAccessToken(GenerateAccessTokenRequest request, StreamObserver<GenerateAccessTokenResponse> responseObserver)

Generates an access token for a Cluster.

Parameters
Name Description
request GenerateAccessTokenRequest
responseObserver io.grpc.stub.StreamObserver<GenerateAccessTokenResponse>

generateOfflineCredential(GenerateOfflineCredentialRequest request, StreamObserver<GenerateOfflineCredentialResponse> responseObserver)

public default void generateOfflineCredential(GenerateOfflineCredentialRequest request, StreamObserver<GenerateOfflineCredentialResponse> responseObserver)

Generates an offline credential for a Cluster.

Parameters
Name Description
request GenerateOfflineCredentialRequest
responseObserver io.grpc.stub.StreamObserver<GenerateOfflineCredentialResponse>

getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)

public default void getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)

Gets details of a single Cluster.

Parameters
Name Description
request GetClusterRequest
responseObserver io.grpc.stub.StreamObserver<Cluster>

getMachine(GetMachineRequest request, StreamObserver<Machine> responseObserver)

public default void getMachine(GetMachineRequest request, StreamObserver<Machine> responseObserver)

Gets details of a single Machine.

Parameters
Name Description
request GetMachineRequest
responseObserver io.grpc.stub.StreamObserver<Machine>

getNodePool(GetNodePoolRequest request, StreamObserver<NodePool> responseObserver)

public default void getNodePool(GetNodePoolRequest request, StreamObserver<NodePool> responseObserver)

Gets details of a single NodePool.

Parameters
Name Description
request GetNodePoolRequest
responseObserver io.grpc.stub.StreamObserver<NodePool>

getServerConfig(GetServerConfigRequest request, StreamObserver<ServerConfig> responseObserver)

public default void getServerConfig(GetServerConfigRequest request, StreamObserver<ServerConfig> responseObserver)

Gets the server config.

Parameters
Name Description
request GetServerConfigRequest
responseObserver io.grpc.stub.StreamObserver<ServerConfig>

getVpnConnection(GetVpnConnectionRequest request, StreamObserver<VpnConnection> responseObserver)

public default void getVpnConnection(GetVpnConnectionRequest request, StreamObserver<VpnConnection> responseObserver)

Gets details of a single VPN connection.

Parameters
Name Description
request GetVpnConnectionRequest
responseObserver io.grpc.stub.StreamObserver<VpnConnection>

listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)

public default void listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)

Lists Clusters in a given project and location.

Parameters
Name Description
request ListClustersRequest
responseObserver io.grpc.stub.StreamObserver<ListClustersResponse>

listMachines(ListMachinesRequest request, StreamObserver<ListMachinesResponse> responseObserver)

public default void listMachines(ListMachinesRequest request, StreamObserver<ListMachinesResponse> responseObserver)

Lists Machines in a given project and location.

Parameters
Name Description
request ListMachinesRequest
responseObserver io.grpc.stub.StreamObserver<ListMachinesResponse>

listNodePools(ListNodePoolsRequest request, StreamObserver<ListNodePoolsResponse> responseObserver)

public default void listNodePools(ListNodePoolsRequest request, StreamObserver<ListNodePoolsResponse> responseObserver)

Lists NodePools in a given project and location.

Parameters
Name Description
request ListNodePoolsRequest
responseObserver io.grpc.stub.StreamObserver<ListNodePoolsResponse>

listVpnConnections(ListVpnConnectionsRequest request, StreamObserver<ListVpnConnectionsResponse> responseObserver)

public default void listVpnConnections(ListVpnConnectionsRequest request, StreamObserver<ListVpnConnectionsResponse> responseObserver)

Lists VPN connections in a given project and location.

Parameters
Name Description
request ListVpnConnectionsRequest
responseObserver io.grpc.stub.StreamObserver<ListVpnConnectionsResponse>

updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)

public default void updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Cluster.

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

updateNodePool(UpdateNodePoolRequest request, StreamObserver<Operation> responseObserver)

public default void updateNodePool(UpdateNodePoolRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single NodePool.

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

upgradeCluster(UpgradeClusterRequest request, StreamObserver<Operation> responseObserver)

public default void upgradeCluster(UpgradeClusterRequest request, StreamObserver<Operation> responseObserver)

Upgrades a single cluster.

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