{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-kubernetes-engine/json-schema/google-kubernetes-engine-bare-metal-admin-cluster-schema.json",
  "title": "BareMetalAdminCluster",
  "description": "Resource that represents a bare metal admin cluster.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-kubernetes-engine-gkeonprem-projects-api-openapi.yml#/components/schemas/BareMetalAdminCluster",
  "properties": {
    "status": {
      "$ref": "#/$defs/ResourceStatus",
      "description": "Output only. ResourceStatus representing detailed cluster status."
    },
    "proxy": {
      "$ref": "#/$defs/BareMetalAdminProxyConfig",
      "description": "Proxy configuration."
    },
    "deleteTime": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. The time at which this bare metal admin cluster was deleted. If the resource is not deleted, this must be empty",
      "format": "google-datetime"
    },
    "reconciling": {
      "description": "Output only. If set, there are currently changes in flight to the bare metal Admin Cluster.",
      "type": "boolean",
      "readOnly": true
    },
    "maintenanceStatus": {
      "$ref": "#/$defs/BareMetalAdminMaintenanceStatus",
      "description": "Output only. MaintenanceStatus representing state of maintenance."
    },
    "annotations": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "description": "Annotations on the bare metal admin cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between."
    },
    "name": {
      "type": "string",
      "description": "Immutable. The bare metal admin cluster resource name."
    },
    "nodeAccessConfig": {
      "$ref": "#/$defs/BareMetalAdminNodeAccessConfig",
      "description": "Node access related configurations."
    },
    "updateTime": {
      "description": "Output only. The time at which this bare metal admin cluster was last updated.",
      "type": "string",
      "format": "google-datetime",
      "readOnly": true
    },
    "bareMetalVersion": {
      "type": "string",
      "description": "The Anthos clusters on bare metal version for the bare metal admin cluster."
    },
    "storage": {
      "$ref": "#/$defs/BareMetalAdminStorageConfig",
      "description": "Storage configuration."
    },
    "endpoint": {
      "description": "Output only. The IP address name of bare metal admin cluster's API server.",
      "type": "string",
      "readOnly": true
    },
    "clusterOperations": {
      "$ref": "#/$defs/BareMetalAdminClusterOperationsConfig",
      "description": "Cluster operations configuration."
    },
    "description": {
      "type": "string",
      "description": "A human readable description of this bare metal admin cluster."
    },
    "binaryAuthorization": {
      "$ref": "#/$defs/BinaryAuthorization",
      "description": "Binary Authorization related configurations."
    },
    "controlPlane": {
      "$ref": "#/$defs/BareMetalAdminControlPlaneConfig",
      "description": "Control plane configuration."
    },
    "state": {
      "description": "Output only. The current state of the bare metal admin cluster.",
      "type": "string",
      "readOnly": true,
      "enum": [
        "STATE_UNSPECIFIED",
        "PROVISIONING",
        "RUNNING",
        "RECONCILING",
        "STOPPING",
        "ERROR",
        "DEGRADED"
      ]
    },
    "validationCheck": {
      "$ref": "#/$defs/ValidationCheck",
      "description": "Output only. ValidationCheck representing the result of the preflight check."
    },
    "osEnvironmentConfig": {
      "$ref": "#/$defs/BareMetalAdminOsEnvironmentConfig",
      "description": "OS environment related configurations."
    },
    "localName": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. The object name of the bare metal cluster custom resource. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster name and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs."
    },
    "createTime": {
      "description": "Output only. The time at which this bare metal admin cluster was created.",
      "format": "google-datetime",
      "type": "string",
      "readOnly": true
    },
    "networkConfig": {
      "$ref": "#/$defs/BareMetalAdminNetworkConfig",
      "description": "Network configuration."
    },
    "fleet": {
      "$ref": "#/$defs/Fleet",
      "description": "Output only. Fleet configuration for the cluster."
    },
    "etag": {
      "description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.",
      "type": "string"
    },
    "nodeConfig": {
      "$ref": "#/$defs/BareMetalAdminWorkloadNodeConfig",
      "description": "Workload node configuration."
    },
    "loadBalancer": {
      "$ref": "#/$defs/BareMetalAdminLoadBalancerConfig",
      "description": "Load balancer configuration."
    },
    "maintenanceConfig": {
      "$ref": "#/$defs/BareMetalAdminMaintenanceConfig",
      "description": "Maintenance configuration."
    },
    "securityConfig": {
      "$ref": "#/$defs/BareMetalAdminSecurityConfig",
      "description": "Security related configuration."
    },
    "uid": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. The unique identifier of the bare metal admin cluster."
    }
  },
  "type": "object",
  "$defs": {
    "Authorization": {
      "description": "Authorization defines the On-Prem cluster authorization configuration to bootstrap onto the admin cluster.",
      "properties": {
        "adminUsers": {
          "items": {
            "$ref": "#/$defs/ClusterUser"
          },
          "description": "For VMware and bare metal user clusters, users will be granted the cluster-admin role on the cluster, which provides full administrative access to the cluster. For bare metal admin clusters, users will be granted the cluster-view role, which limits users to read-only access.",
          "type": "array"
        }
      },
      "type": "object"
    },
    "BareMetalAdminApiServerArgument": {
      "properties": {
        "value": {
          "type": "string",
          "description": "Required. The value of the arg as it will be passed to the API Server command line."
        },
        "argument": {
          "type": "string",
          "description": "Required. The argument name as it appears on the API Server command line please make sure to remove the leading dashes."
        }
      },
      "description": "BareMetalAdminApiServerArgument represents an arg name->value pair. Only a subset of customized flags are supported. Please refer to the API server documentation below to know the exact format: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/",
      "type": "object"
    },
    "BareMetalAdminBgpLbConfig": {
      "description": "BareMetalAdminBgpLbConfig represents configuration parameters for a Border Gateway Protocol (BGP) load balancer.",
      "properties": {
        "bgpPeerConfigs": {
          "type": "array",
          "description": "Required. The list of BGP peers that the cluster will connect to. At least one peer must be configured for each control plane node. Control plane nodes will connect to these peers to advertise the control plane VIP. The Services load balancer also uses these peers by default. This field can be updated after cluster creation.",
          "items": {
            "$ref": "#/$defs/BareMetalAdminBgpPeerConfig"
          }
        },
        "asn": {
          "format": "int64",
          "type": "string",
          "description": "Required. BGP autonomous system number (ASN) of the cluster. This field can be updated after cluster creation."
        },
        "addressPools": {
          "items": {
            "$ref": "#/$defs/BareMetalAdminLoadBalancerAddressPool"
          },
          "description": "Required. AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools.",
          "type": "array"
        },
        "loadBalancerNodePoolConfig": {
          "$ref": "#/$defs/BareMetalAdminLoadBalancerNodePoolConfig",
          "description": "Specifies the node pool running data plane load balancing. L2 connectivity is required among nodes in this pool. If missing, the control plane node pool is used for data plane load balancing."
        }
      },
      "type": "object"
    },
    "BareMetalAdminBgpPeerConfig": {
      "description": "BareMetalAdminBgpPeerConfig represents configuration parameters for a Border Gateway Protocol (BGP) peer.",
      "type": "object",
      "properties": {
        "ipAddress": {
          "type": "string",
          "description": "Required. The IP address of the external peer device."
        },
        "asn": {
          "description": "Required. BGP autonomous system number (ASN) for the network that contains the external peer device.",
          "format": "int64",
          "type": "string"
        },
        "controlPlaneNodes": {
          "description": "The IP address of the control plane node that connects to the external peer. If you don't specify any control plane nodes, all control plane nodes can connect to the external peer. If you specify one or more IP addresses, only the nodes specified participate in peering sessions.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      }
    },
    "BareMetalAdminClusterOperationsConfig": {
      "type": "object",
      "properties": {
        "enableApplicationLogs": {
          "type": "boolean",
          "description": "Whether collection of application logs/metrics should be enabled (in addition to system logs/metrics)."
        }
      },
      "description": "BareMetalAdminClusterOperationsConfig specifies the admin cluster's observability infrastructure."
    },
    "BareMetalAdminControlPlaneConfig": {
      "description": "BareMetalAdminControlPlaneConfig specifies the control plane configuration.",
      "properties": {
        "apiServerArgs": {
          "description": "Customizes the default API server args. Only a subset of customized flags are supported. Please refer to the API server documentation below to know the exact format: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/",
          "type": "array",
          "items": {
            "$ref": "#/$defs/BareMetalAdminApiServerArgument"
          }
        },
        "controlPlaneNodePoolConfig": {
          "$ref": "#/$defs/BareMetalAdminControlPlaneNodePoolConfig",
          "description": "Required. Configures the node pool running the control plane. If specified the corresponding NodePool will be created for the cluster's control plane. The NodePool will have the same name and namespace as the cluster."
        }
      },
      "type": "object"
    },
    "BareMetalAdminControlPlaneNodePoolConfig": {
      "properties": {
        "nodePoolConfig": {
          "$ref": "#/$defs/BareMetalNodePoolConfig",
          "description": "Required. The generic configuration for a node pool running the control plane."
        }
      },
      "description": "BareMetalAdminControlPlaneNodePoolConfig specifies the control plane node pool configuration. We have a control plane specific node pool config so that we can flexible about supporting control plane specific fields in the future.",
      "type": "object"
    },
    "BareMetalAdminDrainedMachine": {
      "type": "object",
      "description": "BareMetalAdminDrainedMachine represents the machines that are drained.",
      "properties": {
        "nodeIp": {
          "type": "string",
          "description": "Drained machine IP address."
        }
      }
    },
    "BareMetalAdminDrainingMachine": {
      "description": "BareMetalAdminDrainingMachine represents the machines that are currently draining.",
      "type": "object",
      "properties": {
        "podCount": {
          "type": "integer",
          "format": "int32",
          "description": "The count of pods yet to drain."
        },
        "nodeIp": {
          "description": "Draining machine IP address.",
          "type": "string"
        }
      }
    },
    "BareMetalAdminIslandModeCidrConfig": {
      "description": "BareMetalAdminIslandModeCidrConfig specifies the cluster CIDR configuration while running in island mode.",
      "properties": {
        "podAddressCidrBlocks": {
          "description": "Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "serviceAddressCidrBlocks": {
          "items": {
            "type": "string"
          },
          "description": "Required. All services in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation.",
          "type": "array"
        }
      },
      "type": "object"
    },
    "BareMetalAdminLoadBalancerAddressPool": {
      "description": "Represents an IP pool used by the load balancer.",
      "type": "object",
      "properties": {
        "manualAssign": {
          "description": "If true, prevent IP addresses from being automatically assigned.",
          "type": "boolean"
        },
        "pool": {
          "description": "Required. The name of the address pool.",
          "type": "string"
        },
        "avoidBuggyIps": {
          "description": "If true, avoid using IPs ending in .0 or .255. This avoids buggy consumer devices mistakenly dropping IPv4 traffic for those special IP addresses.",
          "type": "boolean"
        },
        "addresses": {
          "description": "Required. The addresses that are part of this pool. Each address must be either in the CIDR form (1.2.3.0/24) or range form (1.2.3.1-1.2.3.5).",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      }
    },
    "BareMetalAdminLoadBalancerConfig": {
      "type": "object",
      "properties": {
        "portConfig": {
          "$ref": "#/$defs/BareMetalAdminPortConfig",
          "description": "Configures the ports that the load balancer will listen on."
        },
        "vipConfig": {
          "$ref": "#/$defs/BareMetalAdminVipConfig",
          "description": "The VIPs used by the load balancer."
        },
        "bgpLbConfig": {
          "$ref": "#/$defs/BareMetalAdminBgpLbConfig",
          "description": "Configuration for BGP typed load balancers."
        },
        "manualLbConfig": {
          "$ref": "#/$defs/BareMetalAdminManualLbConfig",
          "description": "Manually configured load balancers."
        }
      },
      "description": "BareMetalAdminLoadBalancerConfig specifies the load balancer configuration."
    },
    "BareMetalAdminLoadBalancerNodePoolConfig": {
      "properties": {
        "nodePoolConfig": {
          "$ref": "#/$defs/BareMetalNodePoolConfig",
          "description": "The generic configuration for a node pool running a load balancer."
        }
      },
      "type": "object",
      "description": "Specifies the load balancer's node pool configuration."
    },
    "BareMetalAdminMachineDrainStatus": {
      "properties": {
        "drainingMachines": {
          "type": "array",
          "description": "The list of draning machines.",
          "items": {
            "$ref": "#/$defs/BareMetalAdminDrainingMachine"
          }
        },
        "drainedMachines": {
          "description": "The list of drained machines.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/BareMetalAdminDrainedMachine"
          }
        }
      },
      "description": "BareMetalAdminMachineDrainStatus represents the status of bare metal node machines that are undergoing drain operations.",
      "type": "object"
    },
    "BareMetalAdminMaintenanceConfig": {
      "type": "object",
      "properties": {
        "maintenanceAddressCidrBlocks": {
          "items": {
            "type": "string"
          },
          "description": "Required. All IPv4 address from these ranges will be placed into maintenance mode. Nodes in maintenance mode will be cordoned and drained. When both of these are true, the \"baremetal.cluster.gke.io/maintenance\" annotation will be set on the node resource.",
          "type": "array"
        }
      },
      "description": "BareMetalAdminMaintenanceConfig specifies configurations to put bare metal Admin cluster CRs nodes in and out of maintenance."
    },
    "BareMetalAdminMaintenanceStatus": {
      "type": "object",
      "description": "BareMetalAdminMaintenanceStatus represents the maintenance status for bare metal Admin cluster CR's nodes.",
      "properties": {
        "machineDrainStatus": {
          "$ref": "#/$defs/BareMetalAdminMachineDrainStatus",
          "description": "Represents the status of draining and drained machine nodes. This is used to show the progress of cluster upgrade."
        }
      }
    },
    "BareMetalAdminManualLbConfig": {
      "type": "object",
      "description": "BareMetalAdminManualLbConfig represents configuration parameters for a manual load balancer.",
      "properties": {
        "enabled": {
          "description": "Whether manual load balancing is enabled.",
          "type": "boolean"
        }
      }
    },
    "BareMetalAdminMultipleNetworkInterfacesConfig": {
      "description": "Specifies the multiple networking interfaces cluster configuration.",
      "type": "object",
      "properties": {
        "enabled": {
          "description": "Whether to enable multiple network interfaces for your pods. When set network_config.advanced_networking is automatically set to true.",
          "type": "boolean"
        }
      }
    },
    "BareMetalAdminNetworkConfig": {
      "properties": {
        "advancedNetworking": {
          "description": "Enables the use of advanced Anthos networking features, such as Bundled Load Balancing with BGP or the egress NAT gateway. Setting configuration for advanced networking features will automatically set this flag.",
          "type": "boolean"
        },
        "multipleNetworkInterfacesConfig": {
          "$ref": "#/$defs/BareMetalAdminMultipleNetworkInterfacesConfig",
          "description": "Configuration for multiple network interfaces."
        },
        "islandModeCidr": {
          "$ref": "#/$defs/BareMetalAdminIslandModeCidrConfig",
          "description": "Configuration for Island mode CIDR."
        }
      },
      "type": "object",
      "description": "BareMetalAdminNetworkConfig specifies the cluster network configuration."
    },
    "BareMetalAdminNodeAccessConfig": {
      "properties": {
        "loginUser": {
          "description": "Required. LoginUser is the user name used to access node machines. It defaults to \"root\" if not set.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Specifies the node access related settings for the bare metal admin cluster."
    },
    "BareMetalAdminOsEnvironmentConfig": {
      "type": "object",
      "description": "Specifies operating system operation settings for cluster provisioning.",
      "properties": {
        "packageRepoExcluded": {
          "description": "Whether the package repo should be added when initializing bare metal machines.",
          "type": "boolean"
        }
      }
    },
    "BareMetalAdminPortConfig": {
      "type": "object",
      "description": "BareMetalAdminPortConfig is the specification of load balancer ports.",
      "properties": {
        "controlPlaneLoadBalancerPort": {
          "type": "integer",
          "format": "int32",
          "description": "The port that control plane hosted load balancers will listen on."
        }
      }
    },
    "BareMetalAdminProxyConfig": {
      "type": "object",
      "properties": {
        "uri": {
          "description": "Required. Specifies the address of your proxy server. Examples: `http://domain` WARNING: Do not provide credentials in the format `http://(username:password@)domain` these will be rejected by the server.",
          "type": "string"
        },
        "noProxy": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of IPs, hostnames, and domains that should skip the proxy. Examples: [\"127.0.0.1\", \"example.com\", \".corp\", \"localhost\"]."
        }
      },
      "description": "BareMetalAdminProxyConfig specifies the cluster proxy configuration."
    },
    "BareMetalAdminSecurityConfig": {
      "description": "Specifies the security related settings for the bare metal admin cluster.",
      "type": "object",
      "properties": {
        "authorization": {
          "$ref": "#/$defs/Authorization",
          "description": "Configures user access to the admin cluster."
        }
      }
    },
    "BareMetalAdminStorageConfig": {
      "properties": {
        "lvpNodeMountsConfig": {
          "$ref": "#/$defs/BareMetalLvpConfig",
          "description": "Required. Specifies the config for local PersistentVolumes backed by mounted node disks. These disks need to be formatted and mounted by the user, which can be done before or after cluster creation."
        },
        "lvpShareConfig": {
          "$ref": "#/$defs/BareMetalLvpShareConfig",
          "description": "Required. Specifies the config for local PersistentVolumes backed by subdirectories in a shared filesystem. These subdirectores are automatically created during cluster creation."
        }
      },
      "type": "object",
      "description": "BareMetalAdminStorageConfig specifies the cluster storage configuration."
    },
    "BareMetalAdminVipConfig": {
      "type": "object",
      "properties": {
        "controlPlaneVip": {
          "type": "string",
          "description": "The VIP which you previously set aside for the Kubernetes API of this bare metal admin cluster."
        }
      },
      "description": "BareMetalAdminVipConfig for bare metal load balancer configurations."
    },
    "BareMetalAdminWorkloadNodeConfig": {
      "type": "object",
      "description": "BareMetalAdminWorkloadNodeConfig specifies the workload node configurations.",
      "properties": {
        "maxPodsPerNode": {
          "format": "int64",
          "description": "The maximum number of pods a node can run. The size of the CIDR range assigned to the node will be derived from this parameter. By default 110 Pods are created per Node. Upper bound is 250 for both HA and non-HA admin cluster. Lower bound is 64 for non-HA admin cluster and 32 for HA admin cluster.",
          "type": "string"
        }
      }
    },
    "BareMetalKubeletConfig": {
      "properties": {
        "registryPullQps": {
          "format": "int32",
          "description": "The limit of registry pulls per second. Setting this value to 0 means no limit. Updating this field may impact scalability by changing the amount of traffic produced by image pulls. Defaults to 5.",
          "type": "integer"
        },
        "registryBurst": {
          "type": "integer",
          "description": "The maximum size of bursty pulls, temporarily allows pulls to burst to this number, while still not exceeding registry_pull_qps. The value must not be a negative number. Updating this field may impact scalability by changing the amount of traffic produced by image pulls. Defaults to 10.",
          "format": "int32"
        },
        "serializeImagePullsDisabled": {
          "description": "Prevents the Kubelet from pulling multiple images at a time. We recommend *not* changing the default value on nodes that run docker daemon with version < 1.9 or an Another Union File System (Aufs) storage backend. Issue https://github.com/kubernetes/kubernetes/issues/10959 has more details.",
          "type": "boolean"
        }
      },
      "description": "KubeletConfig defines the modifiable kubelet configurations for bare metal machines. Note: this list includes fields supported in GKE (see https://cloud.google.com/kubernetes-engine/docs/how-to/node-system-config#kubelet-options).",
      "type": "object"
    },
    "BareMetalLvpConfig": {
      "type": "object",
      "description": "Specifies the configs for local persistent volumes (PVs).",
      "properties": {
        "path": {
          "description": "Required. The host machine path.",
          "type": "string"
        },
        "storageClass": {
          "description": "Required. The StorageClass name that PVs will be created with.",
          "type": "string"
        }
      }
    },
    "BareMetalLvpShareConfig": {
      "properties": {
        "sharedPathPvCount": {
          "format": "int32",
          "type": "integer",
          "description": "The number of subdirectories to create under path."
        },
        "lvpConfig": {
          "$ref": "#/$defs/BareMetalLvpConfig",
          "description": "Required. Defines the machine path and storage class for the LVP Share."
        }
      },
      "description": "Specifies the configs for local persistent volumes under a shared file system.",
      "type": "object"
    },
    "BareMetalNodeConfig": {
      "description": "BareMetalNodeConfig lists machine addresses to access Nodes.",
      "properties": {
        "nodeIp": {
          "type": "string",
          "description": "The default IPv4 address for SSH access and Kubernetes node. Example: 192.168.0.1"
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "The labels assigned to this node. An object containing a list of key/value pairs. The labels here, unioned with the labels set on BareMetalNodePoolConfig are the set of labels that will be applied to the node. If there are any conflicts, the BareMetalNodeConfig labels take precedence. Example: { \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }.",
          "type": "object"
        }
      },
      "type": "object"
    },
    "BareMetalNodePoolConfig": {
      "description": "BareMetalNodePoolConfig describes the configuration of all nodes within a given bare metal node pool.",
      "properties": {
        "labels": {
          "description": "The labels assigned to nodes of this node pool. An object containing a list of key/value pairs. Example: { \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "nodeConfigs": {
          "items": {
            "$ref": "#/$defs/BareMetalNodeConfig"
          },
          "type": "array",
          "description": "Required. The list of machine addresses in the bare metal node pool."
        },
        "taints": {
          "items": {
            "$ref": "#/$defs/NodeTaint"
          },
          "description": "The initial taints assigned to nodes of this node pool.",
          "type": "array"
        },
        "operatingSystem": {
          "enum": [
            "OPERATING_SYSTEM_UNSPECIFIED",
            "LINUX"
          ],
          "type": "string",
          "description": "Specifies the nodes operating system (default: LINUX)."
        },
        "kubeletConfig": {
          "$ref": "#/$defs/BareMetalKubeletConfig",
          "description": "The modifiable kubelet configurations for the bare metal machines."
        }
      },
      "type": "object"
    },
    "BinaryAuthorization": {
      "properties": {
        "evaluationMode": {
          "enum": [
            "EVALUATION_MODE_UNSPECIFIED",
            "DISABLED",
            "PROJECT_SINGLETON_POLICY_ENFORCE"
          ],
          "description": "Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.",
          "type": "string"
        }
      },
      "description": "Configuration for Binary Authorization.",
      "type": "object"
    },
    "ClusterUser": {
      "description": "ClusterUser configures user principals for an RBAC policy.",
      "type": "object",
      "properties": {
        "username": {
          "description": "Required. The name of the user, e.g. `my-gcp-id@gmail.com`.",
          "type": "string"
        }
      }
    },
    "Fleet": {
      "type": "object",
      "properties": {
        "membership": {
          "readOnly": true,
          "description": "Output only. The name of the managed fleet Membership resource associated to this cluster. Membership names are formatted as `projects//locations//memberships/`.",
          "type": "string"
        }
      },
      "description": "Fleet related configuration. Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See [Anthos Fleets](`https://cloud.google.com/anthos/multicluster-management/fleets`) for more details on Anthos multi-cluster capabilities using Fleets. ##"
    },
    "NodeTaint": {
      "properties": {
        "value": {
          "description": "Value associated with the effect.",
          "type": "string"
        },
        "effect": {
          "enum": [
            "EFFECT_UNSPECIFIED",
            "NO_SCHEDULE",
            "PREFER_NO_SCHEDULE",
            "NO_EXECUTE"
          ],
          "type": "string",
          "description": "The taint effect."
        },
        "key": {
          "description": "Key associated with the effect.",
          "type": "string"
        }
      },
      "description": "NodeTaint applied to every Kubernetes node in a node pool. Kubernetes taints can be used together with tolerations to control how workloads are scheduled to your nodes. Node taints are permanent.",
      "type": "object"
    },
    "ResourceCondition": {
      "description": "ResourceCondition provides a standard mechanism for higher-level status reporting from controller.",
      "properties": {
        "lastTransitionTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Last time the condition transit from one status to another."
        },
        "message": {
          "description": "Human-readable message indicating details about last transition.",
          "type": "string"
        },
        "type": {
          "type": "string",
          "description": "Type of the condition. (e.g., ClusterRunning, NodePoolRunning or ServerSidePreflightReady)"
        },
        "reason": {
          "description": "Machine-readable message indicating details about last transition.",
          "type": "string"
        },
        "state": {
          "enum": [
            "STATE_UNSPECIFIED",
            "STATE_TRUE",
            "STATE_FALSE",
            "STATE_UNKNOWN"
          ],
          "type": "string",
          "description": "state of the condition."
        }
      },
      "type": "object"
    },
    "ResourceStatus": {
      "properties": {
        "errorMessage": {
          "description": "Human-friendly representation of the error message from controller. The error message can be temporary as the controller controller creates a cluster or node pool. If the error message persists for a longer period of time, it can be used to surface error message to indicate real problems requiring user intervention.",
          "type": "string"
        },
        "version": {
          "description": "Reflect current version of the resource.",
          "type": "string"
        },
        "versions": {
          "$ref": "#/$defs/Versions",
          "description": "Shows the mapping of a given version to the number of machines under this version."
        },
        "conditions": {
          "type": "array",
          "description": "ResourceCondition provide a standard mechanism for higher-level status reporting from controller.",
          "items": {
            "$ref": "#/$defs/ResourceCondition"
          }
        }
      },
      "description": "ResourceStatus describes why a cluster or node pool has a certain status. (e.g., ERROR or DEGRADED).",
      "type": "object"
    },
    "ValidationCheck": {
      "description": "ValidationCheck represents the result of preflight check.",
      "properties": {
        "option": {
          "description": "Options used for the validation check",
          "type": "string",
          "enum": [
            "OPTIONS_UNSPECIFIED",
            "SKIP_VALIDATION_CHECK_BLOCKING",
            "SKIP_VALIDATION_ALL"
          ]
        },
        "scenario": {
          "readOnly": true,
          "type": "string",
          "enum": [
            "SCENARIO_UNSPECIFIED",
            "CREATE",
            "UPDATE"
          ],
          "description": "Output only. The scenario when the preflight checks were run."
        },
        "status": {
          "$ref": "#/$defs/ValidationCheckStatus",
          "description": "Output only. The detailed validation check status."
        }
      },
      "type": "object"
    },
    "ValidationCheckResult": {
      "properties": {
        "category": {
          "description": "The category of the validation.",
          "type": "string"
        },
        "description": {
          "description": "The description of the validation check.",
          "type": "string"
        },
        "details": {
          "type": "string",
          "description": "Detailed failure information, which might be unformatted."
        },
        "reason": {
          "description": "A human-readable message of the check failure.",
          "type": "string"
        },
        "state": {
          "description": "The validation check state.",
          "type": "string",
          "enum": [
            "STATE_UNKNOWN",
            "STATE_FAILURE",
            "STATE_SKIPPED",
            "STATE_FATAL",
            "STATE_WARNING"
          ]
        }
      },
      "description": "ValidationCheckResult defines the details about the validation check.",
      "type": "object"
    },
    "ValidationCheckStatus": {
      "description": "ValidationCheckStatus defines the detailed validation check status.",
      "type": "object",
      "properties": {
        "result": {
          "items": {
            "$ref": "#/$defs/ValidationCheckResult"
          },
          "type": "array",
          "description": "Individual checks which failed as part of the Preflight check execution."
        }
      }
    },
    "Version": {
      "properties": {
        "version": {
          "type": "string",
          "description": "Resource version."
        },
        "count": {
          "format": "int64",
          "description": "Number of machines under the above version.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Version describes the number of nodes at a given version under a resource."
    },
    "Versions": {
      "type": "object",
      "properties": {
        "versions": {
          "items": {
            "$ref": "#/$defs/Version"
          },
          "description": "Shows the mapping of a given version to the number of machines under this version.",
          "type": "array"
        }
      },
      "description": "Versions describes the mapping of a given version to the number of machines under this version."
    }
  }
}