Get desktop application:
View/edit binary Protocol Buffers messages
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.v1beta.Membership] * [Feature][google.cloud.gkehub.v1beta.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.
Lists Features in a given project and location.
Request message for `GkeHub.ListFeatures` method.
The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*`.
When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.
Token returned by previous call to `ListFeatures` which specifies the position in the list from where to continue listing the resources.
Lists Features that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples: - Feature with the name "servicemesh" in project "foo-proj": name = "projects/foo-proj/locations/global/features/servicemesh" - Features that have a label called `foo`: labels.foo:* - Features that have a label called `foo` whose value is `bar`: labels.foo = bar
One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
Response message for the `GkeHub.ListFeatures` method.
The list of matching Features
A token to request the next page of resources from the `ListFeatures` method. The value of an empty string means that there are no more resources to return.
Gets details of a single Feature.
Request message for `GkeHub.GetFeature` method.
The Feature resource name in the format `projects/*/locations/*/features/*`
Adds a new Feature.
Request message for the `GkeHub.CreateFeature` method.
The parent (project and location) where the Feature will be created. Specified in the format `projects/*/locations/*`.
The ID of the feature to create.
The Feature resource to create.
Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Removes a Feature.
Request message for `GkeHub.DeleteFeature` method.
The Feature resource name in the format `projects/*/locations/*/features/*`.
If set to true, the delete will ignore any outstanding resources for this Feature (that is, `FeatureState.has_resources` is set to true). These resources will NOT be cleaned up or modified in any way.
Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Updates an existing Feature.
Request message for `GkeHub.UpdateFeature` method.
The Feature resource name in the format `projects/*/locations/*/features/*`.
Mask of fields to update.
Only fields specified in update_mask are updated. If you specify a field in the update_mask but don't specify its value here that field will be deleted. If you are updating a map field, set the value of a key to null or empty string to delete the key from the map. It's not possible to update a key's value to the empty string. If you specify the update_mask to be a special path "*", fully replaces all user-modifiable fields to match `resource`.
Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
CommonFeatureSpec contains Hub-wide configuration information
Used in:
Multicluster Ingress-specific spec.
CommonFeatureState contains Hub-wide Feature status information.
Used in:
Output only. The "running state" of the Feature in this Hub.
Feature represents the settings and status of any Hub Feature.
Used as response type in: GkeHub.GetFeature
Used as field type in:
, ,Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.
Labels for this Feature.
Output only. State of the Feature resource itself.
Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.
Output only. The Hub-wide Feature state.
Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.
Output only. When the Feature resource was created.
Output only. When the Feature resource was last updated.
Output only. When the Feature resource was deleted.
FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the "running state" of the Feature in the Hub and across Memberships.
Used in:
The current state of the Feature resource in the Hub API.
State describes the lifecycle status of a Feature.
Used in:
State is unknown or not set.
The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Hub.
The Feature is enabled in this Hub, and the Feature resource is fully available.
The Feature is being disabled in this Hub, and the Feature resource is being deleted.
The Feature resource is being updated.
The Feature resource is being updated by the Hub Service.
FeatureState describes the high-level state of a Feature. It may be used to describe a Feature's state at the environ-level, or per-membershop, depending on the context.
Used in:
,The high-level, machine-readable status of this Feature.
A human-readable description of the current status.
The time this status and any related Feature-specific details were updated.
Code represents a machine-readable, high-level status of the Feature.
Used in:
Unknown or not set.
The Feature is operating normally.
The Feature has encountered an issue, and is operating in a degraded state. The Feature may need intervention to return to normal operation. See the description and any associated Feature-specific details for more information.
The Feature is not operating or is in a severely degraded state. The Feature may need intervention to return to normal operation. See the description and any associated Feature-specific details for more information.
MembershipFeatureSpec contains configuration information for a single Membership. NOTE: Please use snake case in your feature name.
Used in:
Config Management-specific spec.
Anthos Service Mesh-specific spec
Policy Controller spec.
MembershipFeatureState contains Feature status information for a single Membership.
Used in:
Service Mesh-specific state.
Metering-specific state.
Config Management-specific state.
Policycontroller-specific state.
The high-level state of this Feature for a single membership.
Represents the metadata of the long-running operation.
Output only. The time the operation was created.
Output only. The time the operation finished running.
Output only. Server-defined resource path for the target of the operation.
Output only. Name of the verb executed by the operation.
Output only. Human-readable status of the operation, if any.
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
Output only. API version used to start the operation.