@Generated("by gapic-generator-java")
Package com.google.cloud.gkeconnect.gateway.v1beta1
A client to Connect Gateway API
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:
// 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
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
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);
}
-
Interface Summary Interface Description GatewayServiceGrpc.AsyncService Gateway service is a public API which works as a Kubernetes resource model proxy between end users and registered Kubernetes clusters. -
Class Summary Class Description GatewayProto GatewayServiceClient Service Description: Gateway service is a public API which works as a Kubernetes resource model proxy between end users and registered Kubernetes clusters.GatewayServiceGrpc Gateway service is a public API which works as a Kubernetes resource model proxy between end users and registered Kubernetes clusters.GatewayServiceGrpc.GatewayServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service GatewayService.GatewayServiceGrpc.GatewayServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service GatewayService.GatewayServiceGrpc.GatewayServiceImplBase Base class for the server implementation of the service GatewayService.GatewayServiceGrpc.GatewayServiceStub A stub to allow clients to do asynchronous rpc calls to service GatewayService.GatewayServiceSettings Settings class to configure an instance ofGatewayServiceClient
.GatewayServiceSettings.Builder Builder for GatewayServiceSettings.