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

com.google.cloud.gkeconnect.gateway.v1beta1

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

GatewayServiceClient

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 
  
 = 
  
 HttpBody 
 . 
 newBuilder 
 () 
  
 . 
 setContentType 
 ( 
 "contentType-389131437" 
 ) 
  
 . 
 setData 
 ( 
 ByteString 
 . 
 EMPTY 
 ) 
  
 . 
 addAllExtensions 
 ( 
 new 
  
 ArrayList<Any> 
 ()) 
  
 . 
 build 
 (); 
  
 HttpBody 
  
 response 
  
 = 
  
 gatewayServiceClient 
 . 
 getResource 
 ( 
 request 
 ); 
  
 } 
  
 

com.google.cloud.gkeconnect.gateway.v1beta1.stub

Design a Mobile Site
View Site in Mobile | Classic
Share by: