@Generated("by gapic-generator-java")
Package com.google.cloud.gkehub.v1
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.v1.Membership]
- [Feature][google.cloud.gkehub.v1.Feature]
GKE Hub is currently available in the global region and all regions in https://cloud.google.com/compute/docs/regions-zones. Feature is only available in global region while membership is global region and all the regions.
**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()) {
MembershipName name = MembershipName.of("[PROJECT]", "[LOCATION]", "[MEMBERSHIP]");
Membership response = gkeHubClient.getMembership(name);
}
-
Class Summary Class Description Authority Authority encodes how Google will recognize identities from this Membership.Authority.Builder Authority encodes how Google will recognize identities from this Membership.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.ConnectAgentResource ConnectAgentResource represents a Kubernetes resource manifest for Connect Agent deployment.ConnectAgentResource.Builder ConnectAgentResource represents a Kubernetes resource manifest for Connect Agent deployment.CreateFeatureRequest Request message for the `GkeHub.CreateFeature` method.CreateFeatureRequest.Builder Request message for the `GkeHub.CreateFeature` method.CreateMembershipRequest Request message for the `GkeHub.CreateMembership` method.CreateMembershipRequest.Builder Request message for the `GkeHub.CreateMembership` method.DeleteFeatureRequest Request message for `GkeHub.DeleteFeature` method.DeleteFeatureRequest.Builder Request message for `GkeHub.DeleteFeature` method.DeleteMembershipRequest Request message for `GkeHub.DeleteMembership` method.DeleteMembershipRequest.Builder Request message for `GkeHub.DeleteMembership` method.Feature Feature represents the settings and status of any Hub Feature.Feature.Builder Feature represents the settings and status of any Hub Feature.FeatureName FeatureName.Builder Builder for projects/{project}/locations/{location}/features/{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.GenerateConnectManifestRequest Request message for `GkeHub.GenerateConnectManifest` method.GenerateConnectManifestRequest.Builder Request message for `GkeHub.GenerateConnectManifest` method.GenerateConnectManifestResponse GenerateConnectManifestResponse contains manifest information for installing/upgrading a Connect agent.GenerateConnectManifestResponse.Builder GenerateConnectManifestResponse contains manifest information for installing/upgrading a Connect agent.GetFeatureRequest Request message for `GkeHub.GetFeature` method.GetFeatureRequest.Builder Request message for `GkeHub.GetFeature` method.GetMembershipRequest Request message for `GkeHub.GetMembership` method.GetMembershipRequest.Builder Request message for `GkeHub.GetMembership` method.GkeCluster GkeCluster contains information specific to GKE clusters.GkeCluster.Builder GkeCluster contains information specific to GKE clusters.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 GkeHubClient.ListMembershipsFixedSizeCollection GkeHubClient.ListMembershipsPage GkeHubClient.ListMembershipsPagedResponse 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.KubernetesMetadata KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.KubernetesMetadata.Builder KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.KubernetesResource KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster.KubernetesResource.Builder KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster.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.ListMembershipsRequest Request message for `GkeHub.ListMemberships` method.ListMembershipsRequest.Builder Request message for `GkeHub.ListMemberships` method.ListMembershipsResponse Response message for the `GkeHub.ListMemberships` method.ListMembershipsResponse.Builder Response message for the `GkeHub.ListMemberships` method.LocationName LocationName.Builder Builder for projects/{project}/locations/{location}.Membership Membership contains information about a member cluster.Membership.Builder Membership contains information about a member cluster.MembershipEndpoint MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata.MembershipEndpoint.Builder MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata.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.MembershipName MembershipName.Builder Builder for projects/{project}/locations/{location}/memberships/{membership}.MembershipProto MembershipState MembershipState describes the state of a Membership resource.MembershipState.Builder MembershipState describes the state of a Membership resource.MonitoringConfig This field informs Fleet-based applications/services/UIs with the necessary information for where each underlying Cluster reports its metrics.MonitoringConfig.Builder This field informs Fleet-based applications/services/UIs with the necessary information for where each underlying Cluster reports its metrics.OperationMetadata Represents the metadata of the long-running operation.OperationMetadata.Builder Represents the metadata of the long-running operation.ResourceManifest ResourceManifest represents a single Kubernetes resource to be applied to the cluster.ResourceManifest.Builder ResourceManifest represents a single Kubernetes resource to be applied to the cluster.ResourceOptions ResourceOptions represent options for Kubernetes resource generation.ResourceOptions.Builder ResourceOptions represent options for Kubernetes resource generation.ServiceProto TypeMeta TypeMeta is the type information needed for content unmarshalling of Kubernetes resources in the manifest.TypeMeta.Builder TypeMeta is the type information needed for content unmarshalling of Kubernetes resources in the manifest.UpdateFeatureRequest Request message for `GkeHub.UpdateFeature` method.UpdateFeatureRequest.Builder Request message for `GkeHub.UpdateFeature` method.UpdateMembershipRequest Request message for `GkeHub.UpdateMembership` method.UpdateMembershipRequest.Builder Request message for `GkeHub.UpdateMembership` method. -
Enum Summary Enum Description CommonFeatureSpec.FeatureSpecCase FeatureResourceState.State State describes the lifecycle status of a Feature.FeatureState.Code Code represents a machine-readable, high-level status of the Feature.Membership.TypeCase MembershipFeatureSpec.FeatureSpecCase MembershipFeatureState.FeatureStateCase MembershipState.Code Code describes the state of a Membership resource.