{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-kubernetes-engine/json-schema/google-kubernetes-engine-membership-feature-schema.json",
  "title": "MembershipFeature",
  "description": "MembershipFeature represents the settings and status of a Fleet Feature enabled on a single Fleet Membership.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-kubernetes-engine-gkehub-projects-api-openapi.yml#/components/schemas/MembershipFeature",
  "type": "object",
  "properties": {
    "createTime": {
      "type": "string",
      "description": "Output only. When the MembershipFeature resource was created.",
      "readOnly": true,
      "format": "google-datetime"
    },
    "deleteTime": {
      "format": "google-datetime",
      "description": "Output only. When the MembershipFeature resource was deleted.",
      "readOnly": true,
      "type": "string"
    },
    "name": {
      "description": "Output only. The resource name of the membershipFeature, in the format: `projects/{project}/locations/{location}/memberships/{membership}/features/{feature}`. Note that `membershipFeatures` is shortened to `features` in the resource name. (see http://go/aip/122#collection-identifiers)",
      "readOnly": true,
      "type": "string"
    },
    "updateTime": {
      "format": "google-datetime",
      "description": "Output only. When the MembershipFeature resource was last updated.",
      "readOnly": true,
      "type": "string"
    },
    "spec": {
      "$ref": "#/$defs/FeatureSpec",
      "description": "Optional. Spec of this membershipFeature."
    },
    "lifecycleState": {
      "$ref": "#/$defs/LifecycleState",
      "description": "Output only. Lifecycle information of the resource itself."
    },
    "state": {
      "$ref": "#/$defs/FeatureState",
      "description": "Output only. State of the this membershipFeature."
    },
    "labels": {
      "description": "Google Cloud labels for this MembershipFeature.",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "AppDevExperienceState": {
      "description": "State for App Dev Exp Feature.",
      "type": "object",
      "properties": {
        "networkingInstallSucceeded": {
          "$ref": "#/$defs/AppDevExperienceStatus",
          "description": "Status of subcomponent that detects configured Service Mesh resources."
        }
      }
    },
    "AppDevExperienceStatus": {
      "type": "object",
      "properties": {
        "code": {
          "enum": [
            "CODE_UNSPECIFIED",
            "OK",
            "FAILED",
            "UNKNOWN"
          ],
          "description": "Code specifies AppDevExperienceFeature's subcomponent ready state.",
          "type": "string"
        },
        "description": {
          "description": "Description is populated if Code is Failed, explaining why it has failed.",
          "type": "string"
        }
      },
      "description": "Status specifies state for the subcomponent."
    },
    "CloudBuildSpec": {
      "properties": {
        "securityPolicy": {
          "type": "string",
          "description": "Whether it is allowed to run the privileged builds on the cluster or not.",
          "enum": [
            "SECURITY_POLICY_UNSPECIFIED",
            "NON_PRIVILEGED",
            "PRIVILEGED"
          ]
        },
        "version": {
          "type": "string",
          "description": "Version of the cloud build software on the cluster."
        }
      },
      "type": "object",
      "description": "**Cloud Build**: Configurations for each Cloud Build enabled cluster."
    },
    "ClusterUpgradeGKEUpgrade": {
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of the upgrade, e.g., \"k8s_control_plane\"."
        },
        "version": {
          "description": "Version of the upgrade, e.g., \"1.22.1-gke.100\".",
          "type": "string"
        }
      },
      "description": "GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.",
      "type": "object"
    },
    "ClusterUpgradeIgnoredMembership": {
      "properties": {
        "ignoredTime": {
          "type": "string",
          "description": "Time when the membership was first set to ignored.",
          "format": "google-datetime"
        },
        "reason": {
          "type": "string",
          "description": "Reason why the membership is ignored."
        }
      },
      "type": "object",
      "description": "IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default."
    },
    "ClusterUpgradeMembershipGKEUpgradeState": {
      "description": "MembershipGKEUpgradeState is a GKEUpgrade and its state per-membership.",
      "properties": {
        "status": {
          "$ref": "#/$defs/ClusterUpgradeUpgradeStatus",
          "description": "Status of the upgrade."
        },
        "upgrade": {
          "$ref": "#/$defs/ClusterUpgradeGKEUpgrade",
          "description": "Which upgrade to track the state."
        }
      },
      "type": "object"
    },
    "ClusterUpgradeState": {
      "type": "object",
      "properties": {
        "ignored": {
          "$ref": "#/$defs/ClusterUpgradeIgnoredMembership",
          "description": "Whether this membership is ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel."
        },
        "upgrades": {
          "items": {
            "$ref": "#/$defs/ClusterUpgradeMembershipGKEUpgradeState"
          },
          "type": "array",
          "description": "Actual upgrade state against desired."
        }
      },
      "description": "Per-membership state for this feature."
    },
    "ClusterUpgradeUpgradeStatus": {
      "type": "object",
      "properties": {
        "reason": {
          "description": "Reason for this status.",
          "type": "string"
        },
        "code": {
          "enum": [
            "CODE_UNSPECIFIED",
            "INELIGIBLE",
            "PENDING",
            "IN_PROGRESS",
            "SOAKING",
            "FORCED_SOAKING",
            "COMPLETE"
          ],
          "description": "Status code of the upgrade.",
          "type": "string"
        },
        "updateTime": {
          "description": "Last timestamp the status was updated.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "description": "UpgradeStatus provides status information for each upgrade."
    },
    "ConfigManagementBinauthzConfig": {
      "description": "Configuration for Binauthz.",
      "properties": {
        "enabled": {
          "description": "Whether binauthz is enabled in this cluster.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "ConfigManagementBinauthzState": {
      "type": "object",
      "description": "State for Binauthz.",
      "properties": {
        "webhook": {
          "enum": [
            "DEPLOYMENT_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "ERROR",
            "PENDING"
          ],
          "type": "string",
          "description": "The state of the binauthz webhook."
        },
        "version": {
          "$ref": "#/$defs/ConfigManagementBinauthzVersion",
          "description": "The version of binauthz that is installed."
        }
      }
    },
    "ConfigManagementBinauthzVersion": {
      "properties": {
        "webhookVersion": {
          "type": "string",
          "description": "The version of the binauthz webhook."
        }
      },
      "description": "The version of binauthz.",
      "type": "object"
    },
    "ConfigManagementConfigSync": {
      "type": "object",
      "description": "Configuration for Config Sync",
      "properties": {
        "sourceFormat": {
          "description": "Optional. Specifies whether the Config Sync repo is in `hierarchy` or `unstructured` mode. Defaults to `hierarchy`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.",
          "type": "string"
        },
        "preventDrift": {
          "description": "Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.",
          "type": "boolean"
        },
        "oci": {
          "$ref": "#/$defs/ConfigManagementOciConfig",
          "description": "Optional. OCI repo configuration for the cluster."
        },
        "stopSyncing": {
          "description": "Optional. Set to true to stop syncing configs for a single cluster. Default to false.",
          "type": "boolean"
        },
        "git": {
          "$ref": "#/$defs/ConfigManagementGitConfig",
          "description": "Optional. Git repo configuration for the cluster."
        },
        "deploymentOverrides": {
          "description": "Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.",
          "items": {
            "$ref": "#/$defs/ConfigManagementDeploymentOverride"
          },
          "type": "array"
        },
        "metricsGcpServiceAccountEmail": {
          "description": "Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.",
          "type": "string",
          "deprecated": true
        },
        "enabled": {
          "description": "Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.",
          "type": "boolean"
        }
      }
    },
    "ConfigManagementConfigSyncDeploymentState": {
      "type": "object",
      "properties": {
        "rootReconciler": {
          "enum": [
            "DEPLOYMENT_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "ERROR",
            "PENDING"
          ],
          "description": "Deployment state of root-reconciler.",
          "type": "string"
        },
        "monitor": {
          "description": "Deployment state of the monitor pod.",
          "type": "string",
          "enum": [
            "DEPLOYMENT_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "ERROR",
            "PENDING"
          ]
        },
        "otelCollector": {
          "type": "string",
          "description": "Deployment state of otel-collector",
          "enum": [
            "DEPLOYMENT_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "ERROR",
            "PENDING"
          ]
        },
        "resourceGroupControllerManager": {
          "enum": [
            "DEPLOYMENT_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "ERROR",
            "PENDING"
          ],
          "description": "Deployment state of resource-group-controller-manager",
          "type": "string"
        },
        "importer": {
          "enum": [
            "DEPLOYMENT_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "ERROR",
            "PENDING"
          ],
          "description": "Deployment state of the importer pod.",
          "type": "string"
        },
        "syncer": {
          "type": "string",
          "enum": [
            "DEPLOYMENT_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "ERROR",
            "PENDING"
          ],
          "description": "Deployment state of the syncer pod."
        },
        "admissionWebhook": {
          "type": "string",
          "description": "Deployment state of admission-webhook.",
          "enum": [
            "DEPLOYMENT_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "ERROR",
            "PENDING"
          ]
        },
        "gitSync": {
          "description": "Deployment state of the git-sync pod.",
          "type": "string",
          "enum": [
            "DEPLOYMENT_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "ERROR",
            "PENDING"
          ]
        },
        "reconcilerManager": {
          "type": "string",
          "enum": [
            "DEPLOYMENT_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "ERROR",
            "PENDING"
          ],
          "description": "Deployment state of reconciler-manager pod."
        }
      },
      "description": "The state of ConfigSync's deployment on a cluster."
    },
    "ConfigManagementConfigSyncError": {
      "type": "object",
      "description": "Errors pertaining to the installation of Config Sync",
      "properties": {
        "errorMessage": {
          "type": "string",
          "description": "A string representing the user facing error message"
        }
      }
    },
    "ConfigManagementConfigSyncState": {
      "description": "State information for ConfigSync.",
      "type": "object",
      "properties": {
        "reposyncCrd": {
          "readOnly": true,
          "description": "Output only. The state of the Reposync CRD",
          "enum": [
            "CRD_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "TERMINATING",
            "INSTALLING"
          ],
          "type": "string"
        },
        "clusterLevelStopSyncingState": {
          "enum": [
            "STOP_SYNCING_STATE_UNSPECIFIED",
            "NOT_STOPPED",
            "PENDING",
            "STOPPED"
          ],
          "type": "string",
          "description": "Output only. Whether syncing resources to the cluster is stopped at the cluster level.",
          "readOnly": true
        },
        "version": {
          "$ref": "#/$defs/ConfigManagementConfigSyncVersion",
          "description": "Output only. The version of ConfigSync deployed."
        },
        "rootsyncCrd": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The state of the RootSync CRD",
          "enum": [
            "CRD_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "TERMINATING",
            "INSTALLING"
          ]
        },
        "deploymentState": {
          "$ref": "#/$defs/ConfigManagementConfigSyncDeploymentState",
          "description": "Output only. Information about the deployment of ConfigSync, including the version. of the various Pods deployed"
        },
        "state": {
          "readOnly": true,
          "description": "Output only. The state of CS This field summarizes the other fields in this message.",
          "enum": [
            "STATE_UNSPECIFIED",
            "CONFIG_SYNC_NOT_INSTALLED",
            "CONFIG_SYNC_INSTALLED",
            "CONFIG_SYNC_ERROR",
            "CONFIG_SYNC_PENDING"
          ],
          "type": "string"
        },
        "crCount": {
          "readOnly": true,
          "format": "int32",
          "description": "Output only. The number of RootSync and RepoSync CRs in the cluster.",
          "type": "integer"
        },
        "syncState": {
          "$ref": "#/$defs/ConfigManagementSyncState",
          "description": "Output only. The state of ConfigSync's process to sync configs to a cluster."
        },
        "errors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ConfigManagementConfigSyncError"
          },
          "description": "Output only. Errors pertaining to the installation of Config Sync.",
          "readOnly": true
        }
      }
    },
    "ConfigManagementConfigSyncVersion": {
      "type": "object",
      "properties": {
        "admissionWebhook": {
          "type": "string",
          "description": "Version of the deployed admission-webhook pod."
        },
        "rootReconciler": {
          "description": "Version of the deployed reconciler container in root-reconciler pod.",
          "type": "string"
        },
        "syncer": {
          "type": "string",
          "description": "Version of the deployed syncer pod."
        },
        "reconcilerManager": {
          "type": "string",
          "description": "Version of the deployed reconciler-manager pod."
        },
        "gitSync": {
          "description": "Version of the deployed git-sync pod.",
          "type": "string"
        },
        "importer": {
          "description": "Version of the deployed importer pod.",
          "type": "string"
        },
        "otelCollector": {
          "type": "string",
          "description": "Version of the deployed otel-collector pod"
        },
        "resourceGroupControllerManager": {
          "description": "Version of the deployed resource-group-controller-manager pod",
          "type": "string"
        },
        "monitor": {
          "description": "Version of the deployed monitor pod.",
          "type": "string"
        }
      },
      "description": "Specific versioning information pertaining to ConfigSync's Pods."
    },
    "ConfigManagementContainerOverride": {
      "type": "object",
      "description": "Configuration for a container override.",
      "properties": {
        "memoryRequest": {
          "type": "string",
          "description": "Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory."
        },
        "cpuRequest": {
          "type": "string",
          "description": "Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu."
        },
        "memoryLimit": {
          "type": "string",
          "description": "Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory."
        },
        "containerName": {
          "type": "string",
          "description": "Required. The name of the container."
        },
        "cpuLimit": {
          "type": "string",
          "description": "Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu."
        }
      }
    },
    "ConfigManagementDeploymentOverride": {
      "type": "object",
      "properties": {
        "containers": {
          "items": {
            "$ref": "#/$defs/ConfigManagementContainerOverride"
          },
          "description": "Optional. The containers of the deployment resource to be overridden.",
          "type": "array"
        },
        "deploymentNamespace": {
          "description": "Required. The namespace of the deployment resource to be overridden.",
          "type": "string"
        },
        "deploymentName": {
          "description": "Required. The name of the deployment resource to be overridden.",
          "type": "string"
        }
      },
      "description": "Configuration for a deployment override."
    },
    "ConfigManagementErrorResource": {
      "description": "Model for a config file in the git repo with an associated Sync error.",
      "properties": {
        "resourceGvk": {
          "$ref": "#/$defs/ConfigManagementGroupVersionKind",
          "description": "Group/version/kind of the resource that is causing an error"
        },
        "resourceName": {
          "description": "Metadata name of the resource that is causing an error",
          "type": "string"
        },
        "resourceNamespace": {
          "description": "Namespace of the resource that is causing an error",
          "type": "string"
        },
        "sourcePath": {
          "description": "Path in the git repo of the erroneous config",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ConfigManagementGatekeeperDeploymentState": {
      "type": "object",
      "description": "State of Policy Controller installation.",
      "properties": {
        "gatekeeperMutation": {
          "type": "string",
          "description": "Status of the pod serving the mutation webhook.",
          "enum": [
            "DEPLOYMENT_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "ERROR",
            "PENDING"
          ]
        },
        "gatekeeperAudit": {
          "type": "string",
          "description": "Status of gatekeeper-audit deployment.",
          "enum": [
            "DEPLOYMENT_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "ERROR",
            "PENDING"
          ]
        },
        "gatekeeperControllerManagerState": {
          "description": "Status of gatekeeper-controller-manager pod.",
          "type": "string",
          "enum": [
            "DEPLOYMENT_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "ERROR",
            "PENDING"
          ]
        }
      }
    },
    "ConfigManagementGitConfig": {
      "description": "Git repo configuration for a single cluster.",
      "type": "object",
      "properties": {
        "syncRev": {
          "description": "Optional. Git revision (tag or hash) or branch to sync from. Default `HEAD`. If not `HEAD`, takes precedence over `sync_branch` field. When using a hash, must be a full hash, and not an abbreviated form.",
          "type": "string"
        },
        "httpsProxy": {
          "type": "string",
          "description": "Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Defines an HTTPS_PROXY environment variable and only accepts `https` or unadorned URLs. For example, `https://proxy.internal.business.co:443` or `proxy.internal.business.co:443`. If using an unadorned URL, make sure the communication between your proxy server and Git host is secure. Rejects `http://` URLs. Only specify when secret_type is `cookiefile`, `token`, or `none`."
        },
        "gcpServiceAccountEmail": {
          "type": "string",
          "description": "Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`. Annotates the `RootSync` or `RepoSync` controller's Kubernetes Service Account."
        },
        "syncWaitSecs": {
          "description": "Optional. Period in seconds between consecutive syncs. Default: 15.",
          "type": "string",
          "format": "int64"
        },
        "secretType": {
          "description": "Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.",
          "type": "string"
        },
        "policyDir": {
          "description": "Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.",
          "type": "string"
        },
        "syncRepo": {
          "description": "Required. The URL of the Git repository to use as the source of truth.",
          "type": "string"
        },
        "syncBranch": {
          "type": "string",
          "description": "Optional. The branch of the repository to sync from. Default: master."
        }
      }
    },
    "ConfigManagementGroupVersionKind": {
      "description": "A Kubernetes object's GVK.",
      "type": "object",
      "properties": {
        "group": {
          "description": "Kubernetes Group",
          "type": "string"
        },
        "version": {
          "description": "Kubernetes Version",
          "type": "string"
        },
        "kind": {
          "description": "Kubernetes Kind",
          "type": "string"
        }
      }
    },
    "ConfigManagementHierarchyControllerConfig": {
      "type": "object",
      "properties": {
        "enablePodTreeLabels": {
          "description": "Whether pod tree labels are enabled in this cluster.",
          "type": "boolean"
        },
        "enabled": {
          "type": "boolean",
          "description": "Whether Hierarchy Controller is enabled in this cluster."
        },
        "enableHierarchicalResourceQuota": {
          "type": "boolean",
          "description": "Whether hierarchical resource quota is enabled in this cluster."
        }
      },
      "description": "Configuration for Hierarchy Controller."
    },
    "ConfigManagementHierarchyControllerDeploymentState": {
      "description": "Deployment state for Hierarchy Controller",
      "type": "object",
      "properties": {
        "hnc": {
          "enum": [
            "DEPLOYMENT_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "ERROR",
            "PENDING"
          ],
          "description": "The deployment state for open source HNC (e.g. v0.7.0-hc.0).",
          "type": "string"
        },
        "extension": {
          "enum": [
            "DEPLOYMENT_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "ERROR",
            "PENDING"
          ],
          "description": "The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1).",
          "type": "string"
        }
      }
    },
    "ConfigManagementHierarchyControllerState": {
      "description": "State for Hierarchy Controller.",
      "properties": {
        "version": {
          "$ref": "#/$defs/ConfigManagementHierarchyControllerVersion",
          "description": "The version for Hierarchy Controller."
        },
        "state": {
          "$ref": "#/$defs/ConfigManagementHierarchyControllerDeploymentState",
          "description": "The deployment state for Hierarchy Controller."
        }
      },
      "type": "object"
    },
    "ConfigManagementHierarchyControllerVersion": {
      "type": "object",
      "properties": {
        "hnc": {
          "description": "Version for open source HNC.",
          "type": "string"
        },
        "extension": {
          "description": "Version for Hierarchy Controller extension.",
          "type": "string"
        }
      },
      "description": "Version for Hierarchy Controller."
    },
    "ConfigManagementInstallError": {
      "properties": {
        "errorMessage": {
          "description": "A string representing the user facing error message.",
          "type": "string"
        }
      },
      "description": "Errors pertaining to the installation of ACM.",
      "type": "object"
    },
    "ConfigManagementOciConfig": {
      "type": "object",
      "properties": {
        "gcpServiceAccountEmail": {
          "description": "Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`. Annotates the `RootSync` or `RepoSync` controller's Kubernetes Service Account.",
          "type": "string"
        },
        "syncWaitSecs": {
          "type": "string",
          "format": "int64",
          "description": "Optional. Period in seconds between consecutive syncs. Default: 15."
        },
        "policyDir": {
          "description": "Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.",
          "type": "string"
        },
        "syncRepo": {
          "type": "string",
          "description": "Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`."
        },
        "secretType": {
          "type": "string",
          "description": "Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive."
        }
      },
      "description": "OCI repo configuration for a single cluster."
    },
    "ConfigManagementOperatorState": {
      "description": "State information for an ACM's Operator.",
      "properties": {
        "deploymentState": {
          "description": "The state of the Operator's deployment.",
          "type": "string",
          "enum": [
            "DEPLOYMENT_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLED",
            "ERROR",
            "PENDING"
          ]
        },
        "errors": {
          "description": "Install errors.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ConfigManagementInstallError"
          }
        },
        "version": {
          "type": "string",
          "description": "The semenatic version number of the operator."
        }
      },
      "type": "object"
    },
    "ConfigManagementPolicyController": {
      "type": "object",
      "description": "Configuration for Policy Controller",
      "properties": {
        "enabled": {
          "description": "Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.",
          "type": "boolean"
        },
        "exemptableNamespaces": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster."
        },
        "mutationEnabled": {
          "type": "boolean",
          "description": "Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster."
        },
        "updateTime": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Last time this membership spec was updated.",
          "format": "google-datetime"
        },
        "templateLibraryInstalled": {
          "type": "boolean",
          "description": "Installs the default template library along with Policy Controller."
        },
        "referentialRulesEnabled": {
          "description": "Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.",
          "type": "boolean"
        },
        "auditIntervalSeconds": {
          "type": "string",
          "description": "Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.",
          "format": "int64"
        },
        "logDeniesEnabled": {
          "type": "boolean",
          "description": "Logs all denies and dry run failures."
        },
        "monitoring": {
          "$ref": "#/$defs/ConfigManagementPolicyControllerMonitoring",
          "description": "Monitoring specifies the configuration of monitoring."
        }
      }
    },
    "ConfigManagementPolicyControllerMigration": {
      "description": "State for the migration of PolicyController from ACM -> PoCo Hub.",
      "properties": {
        "copyTime": {
          "type": "string",
          "description": "Last time this membership spec was copied to PoCo feature.",
          "format": "google-datetime"
        },
        "stage": {
          "type": "string",
          "description": "Stage of the migration.",
          "enum": [
            "STAGE_UNSPECIFIED",
            "ACM_MANAGED",
            "POCO_MANAGED"
          ]
        }
      },
      "type": "object"
    },
    "ConfigManagementPolicyControllerMonitoring": {
      "description": "PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [\"cloudmonitoring\", \"prometheus\"]",
      "type": "object",
      "properties": {
        "backends": {
          "type": "array",
          "description": "Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.",
          "items": {
            "enum": [
              "MONITORING_BACKEND_UNSPECIFIED",
              "PROMETHEUS",
              "CLOUD_MONITORING"
            ],
            "type": "string"
          }
        }
      }
    },
    "ConfigManagementPolicyControllerState": {
      "type": "object",
      "properties": {
        "migration": {
          "$ref": "#/$defs/ConfigManagementPolicyControllerMigration",
          "description": "Record state of ACM -> PoCo Hub migration for this feature."
        },
        "version": {
          "$ref": "#/$defs/ConfigManagementPolicyControllerVersion",
          "description": "The version of Gatekeeper Policy Controller deployed."
        },
        "deploymentState": {
          "$ref": "#/$defs/ConfigManagementGatekeeperDeploymentState",
          "description": "The state about the policy controller installation."
        }
      },
      "description": "State for PolicyControllerState."
    },
    "ConfigManagementPolicyControllerVersion": {
      "description": "The build version of Gatekeeper Policy Controller is using.",
      "properties": {
        "version": {
          "type": "string",
          "description": "The gatekeeper image tag that is composed of ACM version, git tag, build number."
        }
      },
      "type": "object"
    },
    "ConfigManagementSpec": {
      "description": "**Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR.",
      "properties": {
        "version": {
          "type": "string",
          "description": "Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy."
        },
        "policyController": {
          "$ref": "#/$defs/ConfigManagementPolicyController",
          "description": "Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead."
        },
        "configSync": {
          "$ref": "#/$defs/ConfigManagementConfigSync",
          "description": "Optional. Config Sync configuration for the cluster."
        },
        "management": {
          "description": "Optional. Deprecated: Automatic Feature management is in Preview and is unavailable in version 1.21.0 and later, after which Config Sync only supports manual upgrades. If set to manual upgrades, clear this field instead, which is behaviorally equivalent but helps prevent compatibility issues with newer fields.",
          "enum": [
            "MANAGEMENT_UNSPECIFIED",
            "MANAGEMENT_AUTOMATIC",
            "MANAGEMENT_MANUAL"
          ],
          "type": "string",
          "deprecated": true
        },
        "hierarchyController": {
          "$ref": "#/$defs/ConfigManagementHierarchyControllerConfig",
          "description": "Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead."
        },
        "binauthz": {
          "$ref": "#/$defs/ConfigManagementBinauthzConfig",
          "description": "Optional. Deprecated: Binauthz configuration will be ignored and should not be set."
        },
        "cluster": {
          "type": "string",
          "description": "Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster's fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector."
        }
      },
      "type": "object"
    },
    "ConfigManagementState": {
      "description": "**Anthos Config Management**: State for a single cluster.",
      "properties": {
        "clusterName": {
          "description": "Output only. This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster's fleet membership name.",
          "readOnly": true,
          "type": "string"
        },
        "policyControllerState": {
          "$ref": "#/$defs/ConfigManagementPolicyControllerState",
          "description": "Output only. PolicyController status."
        },
        "kubernetesApiServerVersion": {
          "description": "Output only. The Kubernetes API server version of the cluster.",
          "readOnly": true,
          "type": "string"
        },
        "membershipSpec": {
          "$ref": "#/$defs/ConfigManagementSpec",
          "description": "Output only. Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state."
        },
        "configSyncState": {
          "$ref": "#/$defs/ConfigManagementConfigSyncState",
          "description": "Output only. Current sync status."
        },
        "operatorState": {
          "$ref": "#/$defs/ConfigManagementOperatorState",
          "description": "Output only. Current install status of ACM's Operator."
        },
        "binauthzState": {
          "$ref": "#/$defs/ConfigManagementBinauthzState",
          "description": "Output only. Binauthz status."
        },
        "hierarchyControllerState": {
          "$ref": "#/$defs/ConfigManagementHierarchyControllerState",
          "description": "Output only. Hierarchy Controller status."
        }
      },
      "type": "object"
    },
    "ConfigManagementSyncError": {
      "description": "An ACM created error representing a problem syncing configurations.",
      "properties": {
        "errorMessage": {
          "description": "A description of the error",
          "type": "string"
        },
        "code": {
          "description": "An ACM defined error code",
          "type": "string"
        },
        "errorResources": {
          "items": {
            "$ref": "#/$defs/ConfigManagementErrorResource"
          },
          "description": "A list of config(s) associated with the error, if any",
          "type": "array"
        }
      },
      "type": "object"
    },
    "ConfigManagementSyncState": {
      "type": "object",
      "properties": {
        "importToken": {
          "description": "Token indicating the state of the importer.",
          "type": "string"
        },
        "lastSyncTime": {
          "description": "Timestamp type of when ACM last successfully synced the repo.",
          "type": "string",
          "format": "google-datetime"
        },
        "sourceToken": {
          "type": "string",
          "description": "Token indicating the state of the repo."
        },
        "lastSync": {
          "description": "Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo. The time format is specified in https://golang.org/pkg/time/#Time.String",
          "type": "string",
          "deprecated": true
        },
        "errors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ConfigManagementSyncError"
          },
          "description": "A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist."
        },
        "code": {
          "enum": [
            "SYNC_CODE_UNSPECIFIED",
            "SYNCED",
            "PENDING",
            "ERROR",
            "NOT_CONFIGURED",
            "NOT_INSTALLED",
            "UNAUTHORIZED",
            "UNREACHABLE"
          ],
          "type": "string",
          "description": "Sync status code."
        },
        "syncToken": {
          "type": "string",
          "description": "Token indicating the state of the syncer."
        }
      },
      "description": "State indicating an ACM's progress syncing configurations to a cluster."
    },
    "FeatureSpec": {
      "properties": {
        "origin": {
          "$ref": "#/$defs/Origin",
          "description": "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."
        },
        "policycontroller": {
          "$ref": "#/$defs/PolicyControllerSpec",
          "description": "Policycontroller-specific FeatureSpec."
        },
        "cloudbuild": {
          "$ref": "#/$defs/CloudBuildSpec",
          "description": "Cloudbuild-specific FeatureSpec."
        },
        "configmanagement": {
          "$ref": "#/$defs/ConfigManagementSpec",
          "description": "Config Management FeatureSpec."
        },
        "servicemesh": {
          "$ref": "#/$defs/ServiceMeshSpec",
          "description": "ServiceMesh Feature Spec."
        },
        "identityservice": {
          "$ref": "#/$defs/IdentityServiceSpec",
          "description": "IdentityService FeatureSpec."
        },
        "rbacrolebindingactuation": {
          "$ref": "#/$defs/RBACRoleBindingActuationSpec",
          "description": "Rbacrolebindingactuation-specific FeatureSpec."
        },
        "workloadcertificate": {
          "$ref": "#/$defs/WorkloadCertificateSpec",
          "description": "Workloadcertificate-specific FeatureSpec."
        }
      },
      "type": "object",
      "description": "FeatureSpec contains user input per-feature spec information."
    },
    "FeatureState": {
      "type": "object",
      "properties": {
        "identityservice": {
          "$ref": "#/$defs/IdentityServiceState",
          "description": "Identity service state"
        },
        "clusterupgrade": {
          "$ref": "#/$defs/ClusterUpgradeState",
          "description": "Cluster upgrade state."
        },
        "workloadidentity": {
          "$ref": "#/$defs/WorkloadIdentityState",
          "description": "Workload Identity state"
        },
        "rbacrolebindingactuation": {
          "$ref": "#/$defs/RBACRoleBindingActuationState",
          "description": "RBAC Role Binding Actuation state"
        },
        "configmanagement": {
          "$ref": "#/$defs/ConfigManagementState",
          "description": "Config Management state"
        },
        "appdevexperience": {
          "$ref": "#/$defs/AppDevExperienceState",
          "description": "Appdevexperience specific state."
        },
        "state": {
          "$ref": "#/$defs/State",
          "description": "The high-level state of this MembershipFeature."
        },
        "policycontroller": {
          "$ref": "#/$defs/PolicyControllerState",
          "description": "Policy Controller state"
        },
        "servicemesh": {
          "$ref": "#/$defs/ServiceMeshState",
          "description": "Service mesh state"
        },
        "metering": {
          "$ref": "#/$defs/MeteringState",
          "description": "Metering state"
        }
      },
      "description": "FeatureState contains high-level state information and per-feature state information for this MembershipFeature."
    },
    "IdentityServiceAuthMethod": {
      "properties": {
        "proxy": {
          "type": "string",
          "description": "Proxy server address to use for auth method."
        },
        "samlConfig": {
          "$ref": "#/$defs/IdentityServiceSamlConfig",
          "description": "SAML specific configuration."
        },
        "ldapConfig": {
          "$ref": "#/$defs/IdentityServiceLdapConfig",
          "description": "LDAP specific configuration."
        },
        "name": {
          "description": "Identifier for auth config.",
          "type": "string"
        },
        "azureadConfig": {
          "$ref": "#/$defs/IdentityServiceAzureADConfig",
          "description": "AzureAD specific Configuration."
        },
        "googleConfig": {
          "$ref": "#/$defs/IdentityServiceGoogleConfig",
          "description": "GoogleConfig specific configuration"
        },
        "oidcConfig": {
          "$ref": "#/$defs/IdentityServiceOidcConfig",
          "description": "OIDC specific configuration."
        }
      },
      "description": "Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.",
      "type": "object"
    },
    "IdentityServiceAzureADConfig": {
      "type": "object",
      "description": "Configuration for the AzureAD Auth flow.",
      "properties": {
        "clientSecret": {
          "type": "string",
          "description": "Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH."
        },
        "encryptedClientSecret": {
          "format": "byte",
          "description": "Output only. Encrypted AzureAD client secret.",
          "readOnly": true,
          "type": "string"
        },
        "tenant": {
          "type": "string",
          "description": "Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant."
        },
        "groupFormat": {
          "type": "string",
          "description": "Optional. Format of the AzureAD groups that the client wants for auth."
        },
        "userClaim": {
          "description": "Optional. Claim in the AzureAD ID Token that holds the user details.",
          "type": "string"
        },
        "kubectlRedirectUri": {
          "type": "string",
          "description": "The redirect URL that kubectl uses for authorization."
        },
        "clientId": {
          "type": "string",
          "description": "ID for the registered client application that makes authentication requests to the Azure AD identity provider."
        }
      }
    },
    "IdentityServiceDiagnosticInterface": {
      "description": "Configuration options for the AIS diagnostic interface.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Determines whether to enable the diagnostic interface."
        },
        "expirationTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected."
        }
      },
      "type": "object"
    },
    "IdentityServiceGoogleConfig": {
      "properties": {
        "disable": {
          "description": "Disable automatic configuration of Google Plugin on supported platforms.",
          "type": "boolean"
        }
      },
      "type": "object",
      "description": "Configuration for the Google Plugin Auth flow."
    },
    "IdentityServiceGroupConfig": {
      "description": "Contains the properties for locating and authenticating groups in the directory.",
      "properties": {
        "filter": {
          "type": "string",
          "description": "Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to \"(objectClass=Group)\"."
        },
        "idAttribute": {
          "description": "Optional. The identifying name of each group a user belongs to. For example, if this is set to \"distinguishedName\" then RBACs and other group expectations should be written as full DNs. This defaults to \"distinguishedName\".",
          "type": "string"
        },
        "baseDn": {
          "type": "string",
          "description": "Required. The location of the subtree in the LDAP directory to search for group entries."
        }
      },
      "type": "object"
    },
    "IdentityServiceIdentityServiceOptions": {
      "type": "object",
      "description": "Holds non-protocol-related configuration options.",
      "properties": {
        "diagnosticInterface": {
          "$ref": "#/$defs/IdentityServiceDiagnosticInterface",
          "description": "Configuration options for the AIS diagnostic interface."
        },
        "sessionDuration": {
          "type": "string",
          "description": "Determines the lifespan of STS tokens issued by Anthos Identity Service.",
          "format": "google-duration"
        }
      }
    },
    "IdentityServiceLdapConfig": {
      "description": "Configuration for the LDAP Auth flow.",
      "properties": {
        "user": {
          "$ref": "#/$defs/IdentityServiceUserConfig",
          "description": "Required. Defines where users exist in the LDAP directory."
        },
        "serviceAccount": {
          "$ref": "#/$defs/IdentityServiceServiceAccountConfig",
          "description": "Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate."
        },
        "server": {
          "$ref": "#/$defs/IdentityServiceServerConfig",
          "description": "Required. Server settings for the external LDAP server."
        },
        "group": {
          "$ref": "#/$defs/IdentityServiceGroupConfig",
          "description": "Optional. Contains the properties for locating and authenticating groups in the directory."
        }
      },
      "type": "object"
    },
    "IdentityServiceOidcConfig": {
      "properties": {
        "userPrefix": {
          "description": "Prefix to prepend to user name.",
          "type": "string"
        },
        "extraParams": {
          "description": "Comma-separated list of key-value pairs.",
          "type": "string"
        },
        "clientSecret": {
          "description": "Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.",
          "type": "string"
        },
        "encryptedClientSecret": {
          "format": "byte",
          "type": "string",
          "readOnly": true,
          "description": "Output only. Encrypted OIDC Client secret"
        },
        "groupPrefix": {
          "type": "string",
          "description": "Prefix to prepend to group name."
        },
        "kubectlRedirectUri": {
          "description": "Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.",
          "type": "string"
        },
        "deployCloudConsoleProxy": {
          "description": "Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.",
          "type": "boolean"
        },
        "enableAccessToken": {
          "description": "Enable access token.",
          "type": "boolean"
        },
        "groupsClaim": {
          "type": "string",
          "description": "Claim in OIDC ID token that holds group information."
        },
        "scopes": {
          "description": "Comma-separated list of identifiers.",
          "type": "string"
        },
        "userClaim": {
          "description": "Claim in OIDC ID token that holds username.",
          "type": "string"
        },
        "issuerUri": {
          "type": "string",
          "description": "URI for the OIDC provider. This should point to the level below .well-known/openid-configuration."
        },
        "certificateAuthorityData": {
          "type": "string",
          "description": "PEM-encoded CA for OIDC provider."
        },
        "clientId": {
          "type": "string",
          "description": "ID for OIDC client application."
        }
      },
      "description": "Configuration for OIDC Auth flow.",
      "type": "object"
    },
    "IdentityServiceSamlConfig": {
      "properties": {
        "identityProviderId": {
          "type": "string",
          "description": "Required. The entity ID of the SAML IdP."
        },
        "identityProviderCertificates": {
          "description": "Required. The list of IdP certificates to validate the SAML response against.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "identityProviderSsoUri": {
          "description": "Required. The URI where the SAML IdP exposes the SSO service.",
          "type": "string"
        },
        "groupPrefix": {
          "type": "string",
          "description": "Optional. Prefix to prepend to group name."
        },
        "groupsAttribute": {
          "type": "string",
          "description": "Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`)."
        },
        "userPrefix": {
          "type": "string",
          "description": "Optional. Prefix to prepend to user name."
        },
        "attributeMapping": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is \"attribute.nickname\" and `value` is \"assertion.nickname\"."
        },
        "userAttribute": {
          "type": "string",
          "description": "Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`)."
        }
      },
      "type": "object",
      "description": "Configuration for the SAML Auth flow."
    },
    "IdentityServiceServerConfig": {
      "description": "Server settings for the external LDAP server.",
      "properties": {
        "certificateAuthorityData": {
          "type": "string",
          "format": "byte",
          "description": "Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the \"ldaps\" and \"startTLS\" connections."
        },
        "connectionType": {
          "description": "Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty.",
          "type": "string"
        },
        "host": {
          "description": "Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, \"ldap.server.example\" or \"10.10.10.10:389\".",
          "type": "string"
        }
      },
      "type": "object"
    },
    "IdentityServiceServiceAccountConfig": {
      "description": "Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate.",
      "properties": {
        "simpleBindCredentials": {
          "$ref": "#/$defs/IdentityServiceSimpleBindCredentials",
          "description": "Credentials for basic auth."
        }
      },
      "type": "object"
    },
    "IdentityServiceSimpleBindCredentials": {
      "description": "The structure holds the LDAP simple binding credential.",
      "type": "object",
      "properties": {
        "dn": {
          "type": "string",
          "description": "Required. The distinguished name(DN) of the service account object/user."
        },
        "encryptedPassword": {
          "description": "Output only. The encrypted password of the service account object/user.",
          "readOnly": true,
          "type": "string",
          "format": "byte"
        },
        "password": {
          "type": "string",
          "description": "Required. Input only. The password of the service account object/user."
        }
      }
    },
    "IdentityServiceSpec": {
      "type": "object",
      "description": "**IdentityService**: Configuration for a single membership.",
      "properties": {
        "authMethods": {
          "items": {
            "$ref": "#/$defs/IdentityServiceAuthMethod"
          },
          "type": "array",
          "description": "A member may support multiple auth methods."
        },
        "identityServiceOptions": {
          "$ref": "#/$defs/IdentityServiceIdentityServiceOptions",
          "description": "Optional. non-protocol-related configuration options."
        }
      }
    },
    "IdentityServiceState": {
      "description": "**IdentityService**: State for a single membership, analyzed and reported by feature controller.",
      "type": "object",
      "properties": {
        "failureReason": {
          "type": "string",
          "description": "The reason of the failure."
        },
        "state": {
          "type": "string",
          "enum": [
            "DEPLOYMENT_STATE_UNSPECIFIED",
            "OK",
            "ERROR"
          ],
          "description": "Deployment state on this member"
        },
        "installedVersion": {
          "description": "Installed AIS version. This is the AIS version installed on this member. The values makes sense iff state is OK.",
          "type": "string"
        },
        "memberConfig": {
          "$ref": "#/$defs/IdentityServiceSpec",
          "description": "Last reconciled membership configuration"
        }
      }
    },
    "IdentityServiceUserConfig": {
      "type": "object",
      "description": "Defines where users exist in the LDAP directory.",
      "properties": {
        "loginAttribute": {
          "description": "Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. \"(=)\" and is combined with the optional filter field. This defaults to \"userPrincipalName\".",
          "type": "string"
        },
        "filter": {
          "description": "Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to \"(objectClass=User)\".",
          "type": "string"
        },
        "idAttribute": {
          "type": "string",
          "description": "Optional. Determines which attribute to use as the user's identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to \"sAMAccountName\" and identifierAttribute to \"userPrincipalName\" would allow a user to login as \"bsmith\", but actual RBAC policies for the user would be written as \"bsmith@example.com\". Using \"userPrincipalName\" is recommended since this will be unique for each user. This defaults to \"userPrincipalName\"."
        },
        "baseDn": {
          "type": "string",
          "description": "Required. The location of the subtree in the LDAP directory to search for user entries."
        }
      }
    },
    "LifecycleState": {
      "type": "object",
      "description": "LifecycleState describes the state of a MembershipFeature *resource* in the GkeHub API. See `FeatureState` for the \"running state\" of the MembershipFeature.",
      "properties": {
        "state": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The current state of the Feature resource in the Hub API.",
          "enum": [
            "STATE_UNSPECIFIED",
            "ENABLING",
            "ACTIVE",
            "DISABLING",
            "UPDATING",
            "SERVICE_UPDATING"
          ]
        }
      }
    },
    "MeteringState": {
      "type": "object",
      "properties": {
        "lastMeasurementTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "The time stamp of the most recent measurement of the number of vCPUs in the cluster."
        },
        "preciseLastMeasuredClusterVcpuCapacity": {
          "description": "The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).",
          "format": "float",
          "type": "number"
        }
      },
      "description": "**Metering**: State for a single membership, analyzed and reported by feature controller."
    },
    "Origin": {
      "type": "object",
      "description": "Origin defines where this FeatureSpec originated from.",
      "properties": {
        "type": {
          "description": "Type specifies which type of origin is set.",
          "type": "string",
          "enum": [
            "TYPE_UNSPECIFIED",
            "FLEET",
            "FLEET_OUT_OF_SYNC",
            "USER"
          ]
        }
      }
    },
    "PolicyControllerBundleInstallSpec": {
      "properties": {
        "exemptedNamespaces": {
          "type": "array",
          "description": "the set of namespaces to be exempted from the bundle",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "BundleInstallSpec is the specification configuration for a single managed bundle.",
      "type": "object"
    },
    "PolicyControllerHubConfig": {
      "description": "Configuration for Policy Controller",
      "properties": {
        "exemptableNamespaces": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster."
        },
        "installSpec": {
          "description": "The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.",
          "enum": [
            "INSTALL_SPEC_UNSPECIFIED",
            "INSTALL_SPEC_NOT_INSTALLED",
            "INSTALL_SPEC_ENABLED",
            "INSTALL_SPEC_SUSPENDED",
            "INSTALL_SPEC_DETACHED"
          ],
          "type": "string"
        },
        "monitoring": {
          "$ref": "#/$defs/PolicyControllerMonitoringConfig",
          "description": "Monitoring specifies the configuration of monitoring."
        },
        "referentialRulesEnabled": {
          "description": "Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.",
          "type": "boolean"
        },
        "deploymentConfigs": {
          "description": "Map of deployment configs to deployments (“admission”, “audit”, “mutation”).",
          "additionalProperties": {
            "$ref": "#/$defs/PolicyControllerPolicyControllerDeploymentConfig"
          },
          "type": "object"
        },
        "mutationEnabled": {
          "type": "boolean",
          "description": "Enables the ability to mutate resources using Policy Controller."
        },
        "auditIntervalSeconds": {
          "format": "int64",
          "description": "Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.",
          "type": "string"
        },
        "policyContent": {
          "$ref": "#/$defs/PolicyControllerPolicyContentSpec",
          "description": "Specifies the desired policy content on the cluster"
        },
        "constraintViolationLimit": {
          "type": "string",
          "description": "The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.",
          "format": "int64"
        },
        "logDeniesEnabled": {
          "description": "Logs all denies and dry run failures.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "PolicyControllerMonitoringConfig": {
      "properties": {
        "backends": {
          "description": "Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.",
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "MONITORING_BACKEND_UNSPECIFIED",
              "PROMETHEUS",
              "CLOUD_MONITORING"
            ]
          }
        }
      },
      "type": "object",
      "description": "MonitoringConfig specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [\"cloudmonitoring\", \"prometheus\"]"
    },
    "PolicyControllerOnClusterState": {
      "properties": {
        "state": {
          "description": "The lifecycle state of this component.",
          "type": "string",
          "enum": [
            "LIFECYCLE_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLING",
            "ACTIVE",
            "UPDATING",
            "DECOMMISSIONING",
            "CLUSTER_ERROR",
            "HUB_ERROR",
            "SUSPENDED",
            "DETACHED"
          ]
        },
        "details": {
          "description": "Surface potential errors or information logs.",
          "type": "string"
        }
      },
      "description": "OnClusterState represents the state of a sub-component of Policy Controller.",
      "type": "object"
    },
    "PolicyControllerPolicyContentSpec": {
      "description": "PolicyContentSpec defines the user's desired content configuration on the cluster.",
      "type": "object",
      "properties": {
        "bundles": {
          "additionalProperties": {
            "$ref": "#/$defs/PolicyControllerBundleInstallSpec"
          },
          "type": "object",
          "description": "map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint."
        },
        "templateLibrary": {
          "$ref": "#/$defs/PolicyControllerTemplateLibraryConfig",
          "description": "Configures the installation of the Template Library."
        }
      }
    },
    "PolicyControllerPolicyContentState": {
      "type": "object",
      "description": "The state of the policy controller policy content",
      "properties": {
        "bundleStates": {
          "description": "The state of the any bundles included in the chosen version of the manifest",
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/PolicyControllerOnClusterState"
          }
        },
        "templateLibraryState": {
          "$ref": "#/$defs/PolicyControllerOnClusterState",
          "description": "The state of the template library"
        },
        "referentialSyncConfigState": {
          "$ref": "#/$defs/PolicyControllerOnClusterState",
          "description": "The state of the referential data sync configuration. This could represent the state of either the syncSet object(s) or the config object, depending on the version of PoCo configured by the user."
        }
      }
    },
    "PolicyControllerPolicyControllerDeploymentConfig": {
      "description": "Deployment-specific configuration.",
      "type": "object",
      "properties": {
        "podAntiAffinity": {
          "description": "Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.",
          "type": "boolean",
          "deprecated": true
        },
        "containerResources": {
          "$ref": "#/$defs/PolicyControllerResourceRequirements",
          "description": "Container resource requirements."
        },
        "replicaCount": {
          "description": "Pod replica count.",
          "format": "int64",
          "type": "string"
        },
        "podAffinity": {
          "enum": [
            "AFFINITY_UNSPECIFIED",
            "NO_AFFINITY",
            "ANTI_AFFINITY"
          ],
          "type": "string",
          "description": "Pod affinity configuration."
        },
        "podTolerations": {
          "items": {
            "$ref": "#/$defs/PolicyControllerToleration"
          },
          "type": "array",
          "description": "Pod tolerations of node taints."
        }
      }
    },
    "PolicyControllerResourceList": {
      "description": "ResourceList contains container resource requirements.",
      "properties": {
        "memory": {
          "description": "Memory requirement expressed in Kubernetes resource units.",
          "type": "string"
        },
        "cpu": {
          "description": "CPU requirement expressed in Kubernetes resource units.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "PolicyControllerResourceRequirements": {
      "type": "object",
      "properties": {
        "requests": {
          "$ref": "#/$defs/PolicyControllerResourceList",
          "description": "Requests describes the amount of compute resources reserved for the container by the kube-scheduler."
        },
        "limits": {
          "$ref": "#/$defs/PolicyControllerResourceList",
          "description": "Limits describes the maximum amount of compute resources allowed for use by the running container."
        }
      },
      "description": "ResourceRequirements describes the compute resource requirements."
    },
    "PolicyControllerSpec": {
      "type": "object",
      "description": "**Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR.",
      "properties": {
        "policyControllerHubConfig": {
          "$ref": "#/$defs/PolicyControllerHubConfig",
          "description": "Policy Controller configuration for the cluster."
        },
        "version": {
          "description": "Version of Policy Controller installed.",
          "type": "string"
        }
      }
    },
    "PolicyControllerState": {
      "type": "object",
      "properties": {
        "policyContentState": {
          "$ref": "#/$defs/PolicyControllerPolicyContentState",
          "description": "The overall content state observed by the Hub Feature controller."
        },
        "state": {
          "enum": [
            "LIFECYCLE_STATE_UNSPECIFIED",
            "NOT_INSTALLED",
            "INSTALLING",
            "ACTIVE",
            "UPDATING",
            "DECOMMISSIONING",
            "CLUSTER_ERROR",
            "HUB_ERROR",
            "SUSPENDED",
            "DETACHED"
          ],
          "description": "The overall Policy Controller lifecycle state observed by the Hub Feature controller.",
          "type": "string"
        },
        "componentStates": {
          "type": "object",
          "description": "Currently these include (also serving as map keys): 1. \"admission\" 2. \"audit\" 3. \"mutation\"",
          "additionalProperties": {
            "$ref": "#/$defs/PolicyControllerOnClusterState"
          }
        }
      },
      "description": "**Policy Controller**: State for a single cluster."
    },
    "PolicyControllerTemplateLibraryConfig": {
      "description": "The config specifying which default library templates to install.",
      "type": "object",
      "properties": {
        "installation": {
          "description": "Configures the manner in which the template library is installed on the cluster.",
          "type": "string",
          "enum": [
            "INSTALLATION_UNSPECIFIED",
            "NOT_INSTALLED",
            "ALL"
          ]
        }
      }
    },
    "PolicyControllerToleration": {
      "properties": {
        "value": {
          "type": "string",
          "description": "Matches a taint value."
        },
        "operator": {
          "description": "Matches a taint operator.",
          "type": "string"
        },
        "key": {
          "type": "string",
          "description": "Matches a taint key (not necessarily unique)."
        },
        "effect": {
          "type": "string",
          "description": "Matches a taint effect."
        }
      },
      "type": "object",
      "description": "Toleration of a node taint."
    },
    "RBACRoleBindingActuationRBACRoleBindingState": {
      "properties": {
        "updateTime": {
          "description": "The time the RBACRoleBinding status was last updated.",
          "format": "google-datetime",
          "type": "string"
        },
        "state": {
          "type": "string",
          "enum": [
            "ROLE_BINDING_STATE_UNSPECIFIED",
            "OK",
            "CUSTOM_ROLE_MISSING_FROM_CLUSTER"
          ],
          "description": "Output only. The state of the RBACRoleBinding.",
          "readOnly": true
        },
        "description": {
          "type": "string",
          "description": "The reason for the failure."
        }
      },
      "type": "object",
      "description": "RBACRoleBindingState is the status of an RBACRoleBinding which exists on a membership."
    },
    "RBACRoleBindingActuationSpec": {
      "type": "object",
      "description": "**RBAC RoleBinding Actuation**: The membership-specific input for RBACRoleBindingActuation feature.",
      "properties": {}
    },
    "RBACRoleBindingActuationState": {
      "description": "**RBAC RoleBinding Actuation**: A membership-specific Feature state for the RBACRoleBindingActuation fleet feature.",
      "properties": {
        "rbacrolebindingStates": {
          "description": "Output only. The state of RBACRoleBindings using custom roles that exist on the cluster, keyed by RBACRoleBinding resource name with format: projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}.",
          "type": "object",
          "readOnly": true,
          "additionalProperties": {
            "$ref": "#/$defs/RBACRoleBindingActuationRBACRoleBindingState"
          }
        }
      },
      "type": "object"
    },
    "ServiceMeshAnalysisMessage": {
      "description": "AnalysisMessage is a single message produced by an analyzer, and it used to communicate to the end user about the state of their Service Mesh configuration.",
      "properties": {
        "resourcePaths": {
          "description": "A list of strings specifying the resource identifiers that were the cause of message generation. A \"path\" here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "args": {
          "type": "object",
          "description": "A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.",
          "additionalProperties": {
            "description": "Properties of the object."
          }
        },
        "messageBase": {
          "$ref": "#/$defs/ServiceMeshAnalysisMessageBase",
          "description": "Details common to all types of Istio and ServiceMesh analysis messages."
        },
        "description": {
          "type": "string",
          "description": "A human readable description of what the error means. It is suitable for non-internationalize display purposes."
        }
      },
      "type": "object"
    },
    "ServiceMeshAnalysisMessageBase": {
      "type": "object",
      "description": "AnalysisMessageBase describes some common information that is needed for all messages.",
      "properties": {
        "documentationUrl": {
          "type": "string",
          "description": "A url pointing to the Service Mesh or Istio documentation for this specific error type."
        },
        "level": {
          "type": "string",
          "enum": [
            "LEVEL_UNSPECIFIED",
            "ERROR",
            "WARNING",
            "INFO"
          ],
          "description": "Represents how severe a message is."
        },
        "type": {
          "$ref": "#/$defs/ServiceMeshType",
          "description": "Represents the specific type of a message."
        }
      }
    },
    "ServiceMeshCondition": {
      "description": "Condition being reported.",
      "properties": {
        "details": {
          "description": "A short summary about the issue.",
          "type": "string"
        },
        "documentationLink": {
          "description": "Links contains actionable information.",
          "type": "string"
        },
        "severity": {
          "description": "Severity level of the condition.",
          "enum": [
            "SEVERITY_UNSPECIFIED",
            "ERROR",
            "WARNING",
            "INFO"
          ],
          "type": "string"
        },
        "code": {
          "type": "string",
          "enum": [
            "CODE_UNSPECIFIED",
            "MESH_IAM_PERMISSION_DENIED",
            "MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED",
            "CNI_CONFIG_UNSUPPORTED",
            "GKE_SANDBOX_UNSUPPORTED",
            "NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED",
            "CNI_INSTALLATION_FAILED",
            "CNI_POD_UNSCHEDULABLE",
            "CLUSTER_HAS_ZERO_NODES",
            "CANONICAL_SERVICE_ERROR",
            "UNSUPPORTED_MULTIPLE_CONTROL_PLANES",
            "VPCSC_GA_SUPPORTED",
            "DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT",
            "DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT_SAFE",
            "CONFIG_APPLY_INTERNAL_ERROR",
            "CONFIG_VALIDATION_ERROR",
            "CONFIG_VALIDATION_WARNING",
            "QUOTA_EXCEEDED_BACKEND_SERVICES",
            "QUOTA_EXCEEDED_HEALTH_CHECKS",
            "QUOTA_EXCEEDED_HTTP_ROUTES",
            "QUOTA_EXCEEDED_TCP_ROUTES",
            "QUOTA_EXCEEDED_TLS_ROUTES",
            "QUOTA_EXCEEDED_TRAFFIC_POLICIES",
            "QUOTA_EXCEEDED_ENDPOINT_POLICIES",
            "QUOTA_EXCEEDED_GATEWAYS",
            "QUOTA_EXCEEDED_MESHES",
            "QUOTA_EXCEEDED_SERVER_TLS_POLICIES",
            "QUOTA_EXCEEDED_CLIENT_TLS_POLICIES",
            "QUOTA_EXCEEDED_SERVICE_LB_POLICIES",
            "QUOTA_EXCEEDED_HTTP_FILTERS",
            "QUOTA_EXCEEDED_TCP_FILTERS",
            "QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS",
            "CONFIG_APPLY_BLOCKED",
            "LEGACY_MC_SECRETS",
            "WORKLOAD_IDENTITY_REQUIRED",
            "NON_STANDARD_BINARY_USAGE",
            "UNSUPPORTED_GATEWAY_CLASS",
            "MANAGED_CNI_NOT_ENABLED",
            "MISSING_CONTROL_PLANE_CONFIG",
            "SHARED_VPC_MISSING_PERMISSIONS",
            "REQUIRED_ORG_POLICY_DISABLED",
            "MODERNIZATION_INCOMPATIBLE_POD_ANNOTATION",
            "MODERNIZATION_INCOMPATIBLE_CONFIG",
            "MODERNIZATION_INCOMPATIBLE_GATEWAY_POD_SCALE",
            "MODERNIZATION_REQUIRES_MANUAL_WORKLOAD_RESTART",
            "MODERNIZATION_UNEVICTABLE_POD_DISRUPTION_BUDGET",
            "MODERNIZATION_SCHEDULED",
            "MODERNIZATION_IN_PROGRESS",
            "MODERNIZATION_COMPLETED",
            "MODERNIZATION_ABORTED",
            "MODERNIZATION_PREPARING",
            "MODERNIZATION_STALLED",
            "MODERNIZATION_PREPARED",
            "MODERNIZATION_MIGRATING_WORKLOADS",
            "MODERNIZATION_ROLLING_BACK_CLUSTER",
            "MODERNIZATION_AWAITING_MANUAL_WORKLOAD_RESTART",
            "MODERNIZATION_WILL_BE_SCHEDULED",
            "MODERNIZATION_MANUAL",
            "MODERNIZATION_ELIGIBLE",
            "MODERNIZATION_MODERNIZING",
            "MODERNIZATION_MODERNIZED_SOAKING",
            "MODERNIZATION_FINALIZED",
            "MODERNIZATION_ROLLING_BACK_FLEET",
            "MODERNIZATION_MODERNIZED",
            "MODERNIZATION_REQUIRES_CUSTOMER_TRIGGER",
            "MODERNIZATION_COMPATIBLE",
            "MODERNIZATION_INCOMPATIBLE",
            "MODERNIZATION_INCOMPATIBLE_FLEET_SCALE",
            "MODERNIZATION_INCOMPATIBLE_FLEET_QUOTA"
          ],
          "description": "Unique identifier of the condition which describes the condition recognizable to the user."
        }
      },
      "type": "object"
    },
    "ServiceMeshControlPlaneManagement": {
      "properties": {
        "state": {
          "type": "string",
          "description": "LifecycleState of control plane management.",
          "enum": [
            "LIFECYCLE_STATE_UNSPECIFIED",
            "DISABLED",
            "FAILED_PRECONDITION",
            "PROVISIONING",
            "ACTIVE",
            "STALLED",
            "NEEDS_ATTENTION",
            "DEGRADED",
            "DEPROVISIONING"
          ]
        },
        "implementation": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Implementation of managed control plane.",
          "enum": [
            "IMPLEMENTATION_UNSPECIFIED",
            "ISTIOD",
            "TRAFFIC_DIRECTOR",
            "UPDATING"
          ]
        },
        "details": {
          "description": "Explanation of state.",
          "items": {
            "$ref": "#/$defs/ServiceMeshStatusDetails"
          },
          "type": "array"
        }
      },
      "type": "object",
      "description": "Status of control plane management."
    },
    "ServiceMeshDataPlaneManagement": {
      "description": "Status of data plane management. Only reported per-member.",
      "properties": {
        "state": {
          "enum": [
            "LIFECYCLE_STATE_UNSPECIFIED",
            "DISABLED",
            "FAILED_PRECONDITION",
            "PROVISIONING",
            "ACTIVE",
            "STALLED",
            "NEEDS_ATTENTION",
            "DEGRADED",
            "DEPROVISIONING"
          ],
          "description": "Lifecycle status of data plane management.",
          "type": "string"
        },
        "details": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ServiceMeshStatusDetails"
          },
          "description": "Explanation of the status."
        }
      },
      "type": "object"
    },
    "ServiceMeshSpec": {
      "type": "object",
      "properties": {
        "defaultChannel": {
          "description": "Determines which release channel to use for default injection and service mesh APIs.",
          "enum": [
            "CHANNEL_UNSPECIFIED",
            "RAPID",
            "REGULAR",
            "STABLE"
          ],
          "type": "string",
          "deprecated": true
        },
        "configApi": {
          "type": "string",
          "description": "Optional. Specifies the API that will be used for configuring the mesh workloads.",
          "enum": [
            "CONFIG_API_UNSPECIFIED",
            "CONFIG_API_ISTIO",
            "CONFIG_API_GATEWAY"
          ]
        },
        "management": {
          "type": "string",
          "description": "Optional. Enables automatic Service Mesh management.",
          "enum": [
            "MANAGEMENT_UNSPECIFIED",
            "MANAGEMENT_AUTOMATIC",
            "MANAGEMENT_MANUAL",
            "MANAGEMENT_NOT_INSTALLED"
          ]
        },
        "controlPlane": {
          "type": "string",
          "enum": [
            "CONTROL_PLANE_MANAGEMENT_UNSPECIFIED",
            "AUTOMATIC",
            "MANUAL"
          ],
          "description": "Deprecated: use `management` instead Enables automatic control plane management.",
          "deprecated": true
        }
      },
      "description": "**Service Mesh**: Spec for a single Membership for the servicemesh feature"
    },
    "ServiceMeshState": {
      "type": "object",
      "properties": {
        "configApiVersion": {
          "description": "The API version (i.e. Istio CRD version) for configuring service mesh in this cluster. This version is influenced by the `default_channel` field.",
          "type": "string"
        },
        "controlPlaneManagement": {
          "$ref": "#/$defs/ServiceMeshControlPlaneManagement",
          "description": "Output only. Status of control plane management"
        },
        "dataPlaneManagement": {
          "$ref": "#/$defs/ServiceMeshDataPlaneManagement",
          "description": "Output only. Status of data plane management."
        },
        "conditions": {
          "type": "array",
          "description": "Output only. List of conditions reported for this membership.",
          "items": {
            "$ref": "#/$defs/ServiceMeshCondition"
          },
          "readOnly": true
        },
        "analysisMessages": {
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/ServiceMeshAnalysisMessage"
          },
          "description": "Output only. Results of running Service Mesh analyzers.",
          "type": "array"
        }
      },
      "description": "**Service Mesh**: State for a single Membership, as analyzed by the Service Mesh Hub Controller."
    },
    "ServiceMeshStatusDetails": {
      "properties": {
        "code": {
          "description": "A machine-readable code that further describes a broad status.",
          "type": "string"
        },
        "details": {
          "type": "string",
          "description": "Human-readable explanation of code."
        }
      },
      "description": "Structured and human-readable details for a status.",
      "type": "object"
    },
    "ServiceMeshType": {
      "description": "A unique identifier for the type of message. Display_name is intended to be human-readable, code is intended to be machine readable. There should be a one-to-one mapping between display_name and code. (i.e. do not re-use display_names or codes between message types.) See istio.analysis.v1alpha1.AnalysisMessageBase.Type",
      "properties": {
        "code": {
          "type": "string",
          "description": "A 7 character code matching `^IST[0-9]{4}$` or `^ASM[0-9]{4}$`, intended to uniquely identify the message type. (e.g. \"IST0001\" is mapped to the \"InternalError\" message type.)"
        },
        "displayName": {
          "description": "A human-readable name for the message type. e.g. \"InternalError\", \"PodMissingProxy\". This should be the same for all messages of the same type. (This corresponds to the `name` field in open-source Istio.)",
          "type": "string"
        }
      },
      "type": "object"
    },
    "State": {
      "type": "object",
      "properties": {
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "The time this status and any related Feature-specific details were updated."
        },
        "code": {
          "description": "The high-level, machine-readable status of this MembershipFeature.",
          "enum": [
            "CODE_UNSPECIFIED",
            "OK",
            "WARNING",
            "ERROR"
          ],
          "type": "string"
        },
        "description": {
          "type": "string",
          "description": "A human-readable description of the current status."
        }
      },
      "description": "High-level state of a MembershipFeature."
    },
    "WorkloadCertificateSpec": {
      "properties": {
        "certificateManagement": {
          "description": "CertificateManagement specifies workload certificate management.",
          "type": "string",
          "enum": [
            "CERTIFICATE_MANAGEMENT_UNSPECIFIED",
            "DISABLED",
            "ENABLED"
          ]
        }
      },
      "type": "object",
      "description": "**WorkloadCertificate**: The membership-specific input for WorkloadCertificate feature."
    },
    "WorkloadIdentityIdentityProviderStateDetail": {
      "description": "IdentityProviderStateDetail represents the state of an Identity Provider.",
      "properties": {
        "description": {
          "type": "string",
          "description": "A human-readable description of the current state or returned error."
        },
        "code": {
          "description": "The state of the Identity Provider.",
          "type": "string",
          "enum": [
            "IDENTITY_PROVIDER_STATE_UNSPECIFIED",
            "IDENTITY_PROVIDER_STATE_OK",
            "IDENTITY_PROVIDER_STATE_ERROR"
          ]
        }
      },
      "type": "object"
    },
    "WorkloadIdentityState": {
      "type": "object",
      "properties": {
        "description": {
          "type": "string",
          "description": "Deprecated, this field will be erased after code is changed to use the new field."
        },
        "identityProviderStateDetails": {
          "additionalProperties": {
            "$ref": "#/$defs/WorkloadIdentityIdentityProviderStateDetail"
          },
          "description": "The state of the Identity Providers corresponding to the membership.",
          "type": "object"
        }
      },
      "description": "**WorkloadIdentity**: The membership-specific state for WorkloadIdentity feature."
    }
  }
}