@Generated("by gapic-generator-java")
Package com.google.cloud.gkehub.v1alpha
A client to GKE Hub
The interfaces provided are listed below, along with usage samples.
======================= GkeHubClient =======================
Service Description: The GKE Hub service handles the registration of many Kubernetes clusters to Google Cloud, and the management of multi-cluster features over those clusters.
The GKE Hub service operates on the following resources:
- [Membership][google.cloud.gkehub.v1alpha.Membership]
- [Feature][google.cloud.gkehub.v1alpha.Feature]
GKE Hub is currently only available in the global region.
**Membership management may be non-trivial:** it is recommended to use one of the Google-provided client libraries or tools where possible when working with Membership resources.
Sample for GkeHubClient:
// 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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
String name = "name3373707";
Feature response = gkeHubClient.getFeature(name);
}
-
Interface Summary Interface Description CommonFeatureSpecOrBuilder CommonFeatureStateOrBuilder CreateFeatureRequestOrBuilder DeleteFeatureRequestOrBuilder FeatureOrBuilder FeatureResourceStateOrBuilder FeatureStateOrBuilder GetFeatureRequestOrBuilder GkeHubGrpc.AsyncService The GKE Hub service handles the registration of many Kubernetes clusters to Google Cloud, and the management of multi-cluster features over those clusters.ListFeaturesRequestOrBuilder ListFeaturesResponseOrBuilder MembershipFeatureSpecOrBuilder MembershipFeatureStateOrBuilder OperationMetadataOrBuilder UpdateFeatureRequestOrBuilder -
Class Summary Class Description CommonFeatureSpec CommonFeatureSpec contains Hub-wide configuration informationCommonFeatureSpec.Builder CommonFeatureSpec contains Hub-wide configuration informationCommonFeatureState CommonFeatureState contains Hub-wide Feature status information.CommonFeatureState.Builder CommonFeatureState contains Hub-wide Feature status information.CreateFeatureRequest Request message for the `GkeHub.CreateFeature` method.CreateFeatureRequest.Builder Request message for the `GkeHub.CreateFeature` method.DeleteFeatureRequest Request message for `GkeHub.DeleteFeature` method.DeleteFeatureRequest.Builder Request message for `GkeHub.DeleteFeature` method.Feature Feature represents the settings and status of any Hub Feature.Feature.Builder Feature represents the settings and status of any Hub Feature.FeatureProto FeatureResourceState FeatureResourceState describes the state of a Feature *resource* in the GkeHub API.FeatureResourceState.Builder FeatureResourceState describes the state of a Feature *resource* in the GkeHub API.FeatureState FeatureState describes the high-level state of a Feature.FeatureState.Builder FeatureState describes the high-level state of a Feature.GetFeatureRequest Request message for `GkeHub.GetFeature` method.GetFeatureRequest.Builder Request message for `GkeHub.GetFeature` method.GkeHubClient Service Description: The GKE Hub service handles the registration of many Kubernetes clusters to Google Cloud, and the management of multi-cluster features over those clusters.GkeHubClient.ListFeaturesFixedSizeCollection GkeHubClient.ListFeaturesPage GkeHubClient.ListFeaturesPagedResponse GkeHubGrpc The GKE Hub service handles the registration of many Kubernetes clusters to Google Cloud, and the management of multi-cluster features over those clusters.GkeHubGrpc.GkeHubBlockingStub A stub to allow clients to do synchronous rpc calls to service GkeHub.GkeHubGrpc.GkeHubFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service GkeHub.GkeHubGrpc.GkeHubImplBase Base class for the server implementation of the service GkeHub.GkeHubGrpc.GkeHubStub A stub to allow clients to do asynchronous rpc calls to service GkeHub.GkeHubSettings Settings class to configure an instance ofGkeHubClient
.GkeHubSettings.Builder Builder for GkeHubSettings.ListFeaturesRequest Request message for `GkeHub.ListFeatures` method.ListFeaturesRequest.Builder Request message for `GkeHub.ListFeatures` method.ListFeaturesResponse Response message for the `GkeHub.ListFeatures` method.ListFeaturesResponse.Builder Response message for the `GkeHub.ListFeatures` method.MembershipFeatureSpec MembershipFeatureSpec contains configuration information for a single Membership.MembershipFeatureSpec.Builder MembershipFeatureSpec contains configuration information for a single Membership.MembershipFeatureState MembershipFeatureState contains Feature status information for a single Membership.MembershipFeatureState.Builder MembershipFeatureState contains Feature status information for a single Membership.OperationMetadata Represents the metadata of the long-running operation.OperationMetadata.Builder Represents the metadata of the long-running operation.ServiceProto UpdateFeatureRequest Request message for `GkeHub.UpdateFeature` method.UpdateFeatureRequest.Builder Request message for `GkeHub.UpdateFeature` method. -
Enum Summary Enum Description CommonFeatureSpec.FeatureSpecCase CommonFeatureState.FeatureStateCase FeatureResourceState.State State describes the lifecycle status of a Feature.FeatureState.Code Code represents a machine-readable, high-level status of the Feature.MembershipFeatureSpec.FeatureSpecCase MembershipFeatureState.FeatureStateCase