Index
GkeHubFeature(interface)CreateMembershipFeatureRequest(message)DeleteMembershipFeatureRequest(message)FeatureSpec(message)FeatureSpec.Origin(message)FeatureSpec.Origin.Type(enum)FeatureState(message)GetMembershipFeatureRequest(message)LifecycleState(message)LifecycleState.State(enum)ListMembershipFeaturesRequest(message)ListMembershipFeaturesResponse(message)MembershipFeature(message)OperationMetadata(message)State(message)State.Code(enum)UpdateMembershipFeatureRequest(message)
GkeHubFeature
v2main-based GkeHubFeature provides the following services: 1) Management of MembershipFeature resources. 2) Management of FeatureConfig resources.
| CreateMembershipFeature |
|---|
|
Creates membershipFeature under a given parent.
|
| DeleteMembershipFeature |
|---|
|
Removes a membershipFeature.
|
| GetMembershipFeature |
|---|
|
========= MembershipFeature Services ========= Gets details of a membershipFeature.
|
| ListMembershipFeatures |
|---|
|
Lists MembershipFeatures in a given project and location.
|
| UpdateMembershipFeature |
|---|
|
Updates an existing MembershipFeature.
|
CreateMembershipFeatureRequest
Response message for the GkeHubFeature.CreateMembershipFeature method.
| Fields | |
|---|---|
parent |
Required. The name of parent where the MembershipFeature will be created. Specified in the format Authorization requires the following IAM permission on the specified resource
|
membership_feature |
Required. The MembershipFeature to create. |
request_id |
Idempotent request UUID. |
feature_id |
Required. The ID of the membership_feature to create. |
DeleteMembershipFeatureRequest
Request message for GkeHubFeature.DeleteMembershipFeatureRequest method.
| Fields | |
|---|---|
name |
Required. The name of the membershipFeature to be deleted. Specified in the format Authorization requires the following IAM permission on the specified resource
|
request_id |
Idempotent request UUID. |
FeatureSpec
FeatureSpec contains user input per-feature spec information.
| Fields | |
|---|---|
origin |
Whether this per-Feature spec was inherited from a fleet-level default. This field can be updated by users by either overriding a Feature config (updated to USER implicitly) or setting to FLEET explicitly. |
Union field feature_spec. Spec specific to each Fleet feature. oneof feature type will always match the {feature-type} in the FeatureConfig resource name. feature_spec can be only one of the following: |
|
workloadcertificate |
Workloadcertificate-specific FeatureSpec. |
cloudbuild |
Cloudbuild-specific FeatureSpec. |
policycontroller |
Policycontroller-specific FeatureSpec. |
rbacrolebindingactuation |
Rbacrolebindingactuation-specific FeatureSpec. |
identityservice |
IdentityService FeatureSpec. |
servicemesh |
ServiceMesh Feature Spec. |
configmanagement |
Config Management FeatureSpec. |
Origin
Origin defines where this FeatureSpec originated from.
| Fields | |
|---|---|
type |
Type specifies which type of origin is set. |
Type
Type specifies the persona that persisted the config.
| Enums | |
|---|---|
TYPE_UNSPECIFIED |
Type is unknown or not set. |
FLEET |
Per-Feature spec was inherited from the fleet-level default. |
FLEET_OUT_OF_SYNC |
Per-Feature spec was inherited from the fleet-level default but is now out of sync with the current default. |
USER |
Per-Feature spec was inherited from a user specification. |
FeatureState
FeatureState contains high-level state information and per-feature state information for this MembershipFeature.
| Fields | |
|---|---|
state |
The high-level state of this MembershipFeature. |
Union field feature_state. Status specific to each Fleet feature. feature_state can be only one of the following: |
|
clusterupgrade |
Cluster upgrade state. |
identityservice |
Identity service state |
servicemesh |
Service mesh state |
metering |
Metering state |
configmanagement |
Config Management state |
policycontroller |
Policy Controller state |
rbacrolebindingactuation |
RBAC Role Binding Actuation state |
appdevexperience |
Appdevexperience specific state. |
GetMembershipFeatureRequest
Request message for GkeHubFeature.GetMembershipFeature method.
| Fields | |
|---|---|
name |
Required. The MembershipFeature resource name in the format Authorization requires the following IAM permission on the specified resource
|
LifecycleState
LifecycleState describes the state of a MembershipFeature resource in the GkeHub API. See FeatureState for the "running state" of the MembershipFeature.
| Fields | |
|---|---|
state |
Output only. The current state of the Feature resource in the Hub API. |
State
State describes the lifecycle status of a MembershipFeature.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
State is unknown or not set. |
ENABLING |
The MembershipFeature is being enabled, and the MembershipFeature resource is being created. Once complete, the corresponding MembershipFeature will be enabled in this Hub. |
ACTIVE |
The MembershipFeature is enabled in this Hub, and the MembershipFeature resource is fully available. |
DISABLING |
The MembershipFeature is being disabled in this Hub, and the MembershipFeature resource is being deleted. |
UPDATING |
The MembershipFeature resource is being updated. |
SERVICE_UPDATING |
The MembershipFeature resource is being updated by the Hub Service. |
ListMembershipFeaturesRequest
Request message for GkeHubFeature.ListMembershipFeatures method.
| Fields | |
|---|---|
parent |
Required. The parent where the MembershipFeature will be listed. In the format: Authorization requires the following IAM permission on the specified resource
|
page_size |
When requesting a 'page' of resources, |
page_token |
Token returned by previous call to |
filter |
Lists MembershipFeatures that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples:
|
order_by |
One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering. |
ListMembershipFeaturesResponse
Response message for the GkeHubFeature.ListMembershipFeatures method.
| Fields | |
|---|---|
membership_features[] |
The list of matching MembershipFeatures. |
next_page_token |
A token to request the next page of resources from the |
unreachable[] |
List of locations that could not be reached while fetching this list. |
MembershipFeature
MembershipFeature represents the settings and status of a Fleet Feature enabled on a single Fleet Membership.
| Fields | |
|---|---|
name |
Output only. The resource name of the membershipFeature, in the format: |
labels |
GCP labels for this MembershipFeature. |
spec |
Optional. Spec of this membershipFeature. |
state |
Output only. State of the this membershipFeature. |
lifecycle_state |
Output only. Lifecycle information of the resource itself. |
create_time |
Output only. When the MembershipFeature resource was created. |
update_time |
Output only. When the MembershipFeature resource was last updated. |
delete_time |
Output only. When the MembershipFeature resource was deleted. |
OperationMetadata
Metadata of the long-running operation.
| Fields | |
|---|---|
create_time |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
target |
Output only. Server-defined resource path for the target of the operation. |
verb |
Output only. Name of the verb executed by the operation. |
status_detail |
Output only. Human-readable status of the operation, if any. |
cancel_requested |
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a |
api_version |
Output only. API version used to start the operation. |
State
High-level state of a MembershipFeature.
| Fields | |
|---|---|
code |
The high-level, machine-readable status of this MembershipFeature. |
description |
A human-readable description of the current status. |
update_time |
The time this status and any related Feature-specific details were updated. |
Code
Code represents a machine-readable, high-level status of the MembershipFeature.
| Enums | |
|---|---|
CODE_UNSPECIFIED |
Unknown or not set. |
OK |
The MembershipFeature is operating normally. |
WARNING |
The MembershipFeature has encountered an issue, and is operating in a degraded state. The MembershipFeature may need intervention to return to normal operation. See the description and any associated MembershipFeature-specific details for more information. |
ERROR |
The MembershipFeature is not operating or is in a severely degraded state. The MembershipFeature may need intervention to return to normal operation. See the description and any associated MembershipFeature-specific details for more information. |
UpdateMembershipFeatureRequest
Request message for GkeHubFeature.UpdateMembershipFeature method.
| Fields | |
|---|---|
update_mask |
Required. Mask of fields to update. |
membership_feature |
Required. Update description. Only fields specified in update_mask are updated. |
request_id |
Idempotent request UUID. |
allow_missing |
Optional. If set to true, and the MembershipFeature is not found, a new MembershipFeature will be created. In this situation, |