# Package google.cloud.gkehub.namespaceactuation.v1alpha

## Index

- `https://docs.cloud.google.com/kubernetes-engine/fleet-management/docs/reference/rpc/google.cloud.gkehub.namespaceactuation.v1alpha#google.cloud.gkehub.namespaceactuation.v1alpha.FeatureSpec` (message)
- `https://docs.cloud.google.com/kubernetes-engine/fleet-management/docs/reference/rpc/google.cloud.gkehub.namespaceactuation.v1alpha#google.cloud.gkehub.namespaceactuation.v1alpha.FeatureSpec.ActuationMode` (enum)
- `https://docs.cloud.google.com/kubernetes-engine/fleet-management/docs/reference/rpc/google.cloud.gkehub.namespaceactuation.v1alpha#google.cloud.gkehub.namespaceactuation.v1alpha.FeatureState` (message)
- `https://docs.cloud.google.com/kubernetes-engine/fleet-management/docs/reference/rpc/google.cloud.gkehub.namespaceactuation.v1alpha#google.cloud.gkehub.namespaceactuation.v1alpha.MembershipSpec` (message)
- `https://docs.cloud.google.com/kubernetes-engine/fleet-management/docs/reference/rpc/google.cloud.gkehub.namespaceactuation.v1alpha#google.cloud.gkehub.namespaceactuation.v1alpha.MembershipState` (message)

## FeatureSpec

An empty spec for actuation feature. This is required since Feature proto requires a spec.

| Fields ||
|---|---|
| `actuation_mode` | `https://docs.cloud.google.com/kubernetes-engine/fleet-management/docs/reference/rpc/google.cloud.gkehub.namespaceactuation.v1alpha#google.cloud.gkehub.namespaceactuation.v1alpha.FeatureSpec.ActuationMode` actuation_mode controls the behavior of the controller |

## ActuationMode

ActuationMode controls the behavior of the controller

| Enums ||
|---|---|
| `ACTUATION_MODE_UNSPECIFIED` | ACTUATION_MODE_UNSPECIFIED is similar to CREATE_AND_DELETE_IF_CREATED in the default controller behavior. |
| `ACTUATION_MODE_CREATE_AND_DELETE_IF_CREATED` | ACTUATION_MODE_CREATE_AND_DELETE_IF_CREATED has the controller create cluster namespaces for each fleet namespace and it deletes only the ones it created, which are identified by a label. |
| `ACTUATION_MODE_ADD_AND_REMOVE_FLEET_LABELS` | ACTUATION_MODE_ADD_AND_REMOVE_FLEET_LABELS has the controller only apply labels to cluster namespaces to signal fleet namespace enablement. It doesn't create or delete cluster namespaces. |

## FeatureState

This type has no fields.
NamespaceActuation Feature State.

## MembershipSpec

This type has no fields.
**Namespace Actuation**: The membership-specific input for NamespaceActuation feature.

## MembershipState

This type has no fields.
**Namespace Actuation**: An empty state left as an example membership-specific Feature state.