Interface EdgeContainerGrpc.AsyncService (0.36.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
NameDescription
requestCreateClusterRequest
responseObserverio.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
NameDescription
requestCreateNodePoolRequest
responseObserverio.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
NameDescription
requestCreateVpnConnectionRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single Cluster.

Parameters
NameDescription
requestDeleteClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteNodePool(DeleteNodePoolRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single NodePool.

Parameters
NameDescription
requestDeleteNodePoolRequest
responseObserverio.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
NameDescription
requestDeleteVpnConnectionRequest
responseObserverio.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
NameDescription
requestGenerateAccessTokenRequest
responseObserverio.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
NameDescription
requestGenerateOfflineCredentialRequest
responseObserverio.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
NameDescription
requestGetClusterRequest
responseObserverio.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
NameDescription
requestGetMachineRequest
responseObserverio.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
NameDescription
requestGetNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<NodePool>

getServerConfig(GetServerConfigRequest request, StreamObserver<ServerConfig> responseObserver)

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

Gets the server config.

Parameters
NameDescription
requestGetServerConfigRequest
responseObserverio.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
NameDescription
requestGetVpnConnectionRequest
responseObserverio.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
NameDescription
requestListClustersRequest
responseObserverio.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
NameDescription
requestListMachinesRequest
responseObserverio.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
NameDescription
requestListNodePoolsRequest
responseObserverio.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
NameDescription
requestListVpnConnectionsRequest
responseObserverio.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
NameDescription
requestUpdateClusterRequest
responseObserverio.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
NameDescription
requestUpdateNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

upgradeCluster(UpgradeClusterRequest request, StreamObserver<Operation> responseObserver)

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

Upgrades a single cluster.

Parameters
NameDescription
requestUpgradeClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>