google-cloud-gke-connect-gateway overview (0.30.0)

A client to Connect Gateway API

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:

 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 try (GatewayServiceClient gatewayServiceClient = GatewayServiceClient.create()) {
   HttpBody request =
           .addAllExtensions(new ArrayList<Any>())
   HttpBody response = gatewayServiceClient.getResource(request);