google-cloud-gke-connect-gateway overview

Stay organized with collections Save and categorize content based on your preferences.

The interfaces provided are listed below, along with usage samples.


Service Description: Gateway service is a public API which works as a Kubernetes resource model proxy between end users and registered Kubernetes clusters. Each RPC in this service matches with an HTTP verb. End user will initiate kubectl commands against the Gateway service, and Gateway service will forward user requests to clusters.

Sample for GatewayServiceClient:

 try (GatewayServiceClient gatewayServiceClient = GatewayServiceClient.create()) {
   HttpBody request =
           .addAllExtensions(new ArrayList<Any>())
   HttpBody response = gatewayServiceClient.getResource(request);