Google Cloud Dataproc · Schema
Cluster
Describes the identifying information, config, and status of a cluster
Big DataData ProcessingGoogle CloudHadoopSpark
Properties
| Name | Type | Description |
|---|---|---|
| labels | object | Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if |
| projectId | string | Required. The Google Cloud Platform project ID that the cluster belongs to. |
| metrics | object | Output only. Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release. |
| clusterName | string | Required. The cluster name, which must be unique within a project. The name must start with a lowercase letter, and can contain up to 51 lowercase letters, numbers, and hyphens. It cannot end with a h |
| clusterUuid | string | Output only. A cluster UUID (Unique Universal Identifier). The service generates this value when it creates the cluster. |
| virtualClusterConfig | object | Optional. The virtual cluster config is used when creating a cluster that does not directly control the underlying compute resources, for example, when creating a GKE cluster (https://cloud.google.com |
| statusHistory | array | Output only. The previous cluster status. |
| config | object | Optional. The cluster config for a cluster of Compute Engine Instances. Note that the service may set default values, and values may change when clusters are updated.Exactly one of ClusterConfig or Vi |
| status | object | Output only. Cluster status. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/google-cloud-dataproc/json-schema/google-cloud-dataproc-cluster-schema.json",
"title": "Cluster",
"description": "Describes the identifying information, config, and status of a cluster",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/google-cloud-dataproc-dataproc-projects-api-openapi.yml#/components/schemas/Cluster",
"properties": {
"labels": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster."
},
"projectId": {
"description": "Required. The Google Cloud Platform project ID that the cluster belongs to.",
"type": "string"
},
"metrics": {
"$ref": "#/$defs/ClusterMetrics",
"description": "Output only. Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release."
},
"clusterName": {
"description": "Required. The cluster name, which must be unique within a project. The name must start with a lowercase letter, and can contain up to 51 lowercase letters, numbers, and hyphens. It cannot end with a hyphen. The name of a deleted cluster can be reused.",
"type": "string"
},
"clusterUuid": {
"type": "string",
"readOnly": true,
"description": "Output only. A cluster UUID (Unique Universal Identifier). The service generates this value when it creates the cluster."
},
"virtualClusterConfig": {
"$ref": "#/$defs/VirtualClusterConfig",
"description": "Optional. The virtual cluster config is used when creating a cluster that does not directly control the underlying compute resources, for example, when creating a GKE cluster (https://cloud.google.com/dataproc/docs/guides/dpgke/dataproc-gke-overview). the service may set default values, and values may change when clusters are updated. Exactly one of config or virtual_cluster_config must be specified."
},
"statusHistory": {
"type": "array",
"description": "Output only. The previous cluster status.",
"items": {
"$ref": "#/$defs/ClusterStatus"
},
"readOnly": true
},
"config": {
"$ref": "#/$defs/ClusterConfig",
"description": "Optional. The cluster config for a cluster of Compute Engine Instances. Note that the service may set default values, and values may change when clusters are updated.Exactly one of ClusterConfig or VirtualClusterConfig must be specified."
},
"status": {
"$ref": "#/$defs/ClusterStatus",
"description": "Output only. Cluster status."
}
},
"type": "object",
"$defs": {
"AcceleratorConfig": {
"properties": {
"acceleratorTypeUri": {
"description": "Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4 projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4 nvidia-tesla-t4Auto Zone Exception: If you are using Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement), you must use the short name of the accelerator type resource, for example, nvidia-tesla-t4.",
"type": "string"
},
"acceleratorCount": {
"type": "integer",
"description": "The number of the accelerator cards of this type exposed to this instance.",
"format": "int32"
}
},
"description": "Specifies the type and number of accelerator cards attached to the instances of an instance. See GPUs on Compute Engine (https://cloud.google.com/compute/docs/gpus/).",
"type": "object"
},
"AttachedDiskConfig": {
"properties": {
"provisionedIops": {
"format": "int64",
"description": "Optional. Indicates how many IOPS to provision for the attached disk. This sets the number of I/O operations per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features",
"type": "string"
},
"diskSizeGb": {
"description": "Optional. Disk size in GB.",
"format": "int32",
"type": "integer"
},
"diskType": {
"description": "Optional. Deprecated: Use type instead.",
"type": "string",
"enum": [
"DISK_TYPE_UNSPECIFIED",
"HYPERDISK_BALANCED",
"HYPERDISK_EXTREME",
"HYPERDISK_ML",
"HYPERDISK_THROUGHPUT"
],
"deprecated": true
},
"provisionedThroughput": {
"format": "int64",
"type": "string",
"description": "Optional. Indicates how much throughput to provision for the attached disk. This sets the number of throughput mb per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features"
},
"type": {
"description": "Optional. Attached disk type. Currently only supports Hyperdisks. See https://cloud.google.com/compute/docs/disks/hyperdisks. Note: Hyperdisk Balanced High Availability is not supported.Allowed values are: hyperdisk-balanced hyperdisk-extreme hyperdisk-ml hyperdisk-throughput",
"type": "string"
}
},
"description": "Specifies the config of attached disk options for single VM instance.",
"type": "object"
},
"AutoscalingConfig": {
"type": "object",
"description": "Autoscaling Policy config associated with the cluster.",
"properties": {
"policyUri": {
"type": "string",
"description": "Optional. The autoscaling policy used by the cluster.Only resource names including projectid and location (region) are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id] projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]Note that the policy must be in the same project and region."
}
}
},
"AuxiliaryNodeGroup": {
"properties": {
"nodeGroup": {
"$ref": "#/$defs/NodeGroup",
"description": "Required. Node group configuration."
},
"nodeGroupId": {
"type": "string",
"description": "Optional. A node group ID. Generated if not specified.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters."
}
},
"type": "object",
"description": "Node group identification and configuration information."
},
"AuxiliaryServicesConfig": {
"type": "object",
"description": "Auxiliary services configuration for a Cluster.",
"properties": {
"sparkHistoryServerConfig": {
"$ref": "#/$defs/SparkHistoryServerConfig",
"description": "Optional. The Spark History Server configuration for the workload."
},
"metastoreConfig": {
"$ref": "#/$defs/MetastoreConfig",
"description": "Optional. The Hive Metastore configuration for this workload."
}
}
},
"ClusterConfig": {
"properties": {
"diagnosticBucket": {
"type": "string",
"description": "Optional. A Cloud Storage bucket used to collect checkpoint diagnostic data (https://cloud.google.com/dataproc/docs/support/diagnose-clusters#checkpoint_diagnostic_data). If you do not specify a diagnostic bucket, The service will use the temp bucket to collect the checkpoint diagnostic data. This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket."
},
"securityConfig": {
"$ref": "#/$defs/SecurityConfig",
"description": "Optional. Security settings for the cluster."
},
"softwareConfig": {
"$ref": "#/$defs/SoftwareConfig",
"description": "Optional. The config settings for cluster software."
},
"workerFlexibleConfig": {
"$ref": "#/$defs/FlexibleInstanceGroupConfig",
"description": "Optional. The High Obtainability (HO) config settings for the cluster's worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling.Only one of worker_config or worker_flexible_config can be set.In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs."
},
"tempBucket": {
"description": "Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, the service will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket (see staging and temp buckets (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.",
"type": "string"
},
"masterFlexibleConfig": {
"$ref": "#/$defs/FlexibleInstanceGroupConfig",
"description": "Optional. The High Obtainability (HO) config settings for the cluster's master instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: master_flexible_config must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both master_flexible_config and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed.Only one of master_config or master_flexible_config can be set."
},
"encryptionConfig": {
"$ref": "#/$defs/EncryptionConfig",
"description": "Optional. Encryption settings for the cluster."
},
"schedulingConfig": {
"$ref": "#/$defs/SchedulingConfig",
"description": "Optional. Config for scheduling the resources to be allocated when available."
},
"lifecycleConfig": {
"$ref": "#/$defs/LifecycleConfig",
"description": "Optional. Lifecycle setting for the cluster."
},
"autoscalingConfig": {
"$ref": "#/$defs/AutoscalingConfig",
"description": "Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset."
},
"clusterTier": {
"type": "string",
"enum": [
"CLUSTER_TIER_UNSPECIFIED",
"CLUSTER_TIER_STANDARD",
"CLUSTER_TIER_PREMIUM"
],
"description": "Optional. The cluster tier."
},
"gkeClusterConfig": {
"$ref": "#/$defs/GkeClusterConfig",
"description": "Optional. BETA. The Kubernetes Engine config for clusters deployed to Kubernetes. These config settings are mutually exclusive with Compute Engine-based options, such as gce_cluster_config, master_config, worker_config, secondary_worker_config, and autoscaling_config."
},
"gceClusterConfig": {
"$ref": "#/$defs/GceClusterConfig",
"description": "Optional. The shared Compute Engine config settings for all instances in a cluster."
},
"secondaryWorkerFlexibleConfig": {
"$ref": "#/$defs/FlexibleInstanceGroupConfig",
"description": "Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances.In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. num_instances represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling.Only one of secondary_worker_config or secondary_worker_flexible_config can be set.In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using secondary_worker_flexible_config (not secondary_worker_config)."
},
"masterConfig": {
"$ref": "#/$defs/InstanceGroupConfig",
"description": "Optional. The Compute Engine config settings for the cluster's master instance."
},
"engine": {
"type": "string",
"enum": [
"ENGINE_UNSPECIFIED",
"DEFAULT",
"LIGHTNING"
],
"description": "Optional. The cluster engine."
},
"configBucket": {
"type": "string",
"description": "Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, the service will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see staging and temp buckets (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket."
},
"workerConfig": {
"$ref": "#/$defs/InstanceGroupConfig",
"description": "Optional. The Compute Engine config settings for the cluster's worker instances."
},
"dataprocMetricConfig": {
"$ref": "#/$defs/DataprocMetricConfig",
"description": "Optional. The config for metrics."
},
"initializationActions": {
"items": {
"$ref": "#/$defs/NodeInitializationAction"
},
"description": "Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's role metadata to run an executable on a master or worker node, as shown below using curl (you can also use wget): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ \"${ROLE}\" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... fi ",
"type": "array"
},
"clusterType": {
"type": "string",
"enum": [
"CLUSTER_TYPE_UNSPECIFIED",
"STANDARD",
"SINGLE_NODE",
"ZERO_SCALE"
],
"description": "Optional. The type of the cluster."
},
"auxiliaryNodeGroups": {
"type": "array",
"items": {
"$ref": "#/$defs/AuxiliaryNodeGroup"
},
"description": "Optional. The node group settings."
},
"secondaryWorkerConfig": {
"$ref": "#/$defs/InstanceGroupConfig",
"description": "Optional. The Compute Engine config settings for a cluster's secondary worker instances"
},
"metastoreConfig": {
"$ref": "#/$defs/MetastoreConfig",
"description": "Optional. Metastore configuration."
},
"endpointConfig": {
"$ref": "#/$defs/EndpointConfig",
"description": "Optional. Port/endpoint configuration for this cluster"
}
},
"type": "object",
"description": "The cluster config."
},
"ClusterMetrics": {
"properties": {
"hdfsMetrics": {
"additionalProperties": {
"type": "string",
"format": "int64"
},
"description": "The HDFS metrics.",
"type": "object"
},
"yarnMetrics": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "int64"
},
"description": "YARN metrics."
}
},
"type": "object",
"description": "Contains cluster daemon metrics, such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release."
},
"ClusterStatus": {
"properties": {
"detail": {
"type": "string",
"description": "Optional. Details of cluster's state."
},
"substate": {
"readOnly": true,
"description": "Output only. Additional state information that includes status reported by the agent.",
"type": "string",
"enum": [
"UNSPECIFIED",
"UNHEALTHY",
"STALE_STATUS"
]
},
"state": {
"readOnly": true,
"type": "string",
"enum": [
"UNKNOWN",
"CREATING",
"RUNNING",
"ERROR",
"ERROR_DUE_TO_UPDATE",
"DELETING",
"UPDATING",
"STOPPING",
"STOPPED",
"STARTING",
"REPAIRING",
"SCHEDULED"
],
"description": "Output only. The cluster's state."
},
"stateStartTime": {
"readOnly": true,
"type": "string",
"description": "Output only. Time when this state was entered (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).",
"format": "google-datetime"
}
},
"type": "object",
"description": "The status of a cluster and its instances."
},
"ConfidentialInstanceConfig": {
"type": "object",
"description": "Confidential Instance Config for clusters using Confidential VMs (https://cloud.google.com/confidential-computing/confidential-vm/docs)",
"properties": {
"confidentialInstanceType": {
"description": "Optional. Defines the type of Confidential Compute technology to use.",
"type": "string",
"enum": [
"CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED",
"SEV",
"SEV_SNP",
"TDX"
]
},
"enableConfidentialCompute": {
"type": "boolean",
"description": "Optional. Deprecated: Use 'confidential_instance_type' instead. Defines whether the instance should have confidential compute enabled.",
"deprecated": true
}
}
},
"DataprocMetricConfig": {
"properties": {
"metrics": {
"type": "array",
"items": {
"$ref": "#/$defs/Metric"
},
"description": "Required. Metrics sources to enable."
}
},
"type": "object",
"description": "Metric config."
},
"DiskConfig": {
"type": "object",
"properties": {
"bootDiskSizeGb": {
"format": "int32",
"type": "integer",
"description": "Optional. Size in GB of the boot disk (default is 500GB)."
},
"bootDiskProvisionedIops": {
"description": "Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. This field is supported only if boot_disk_type is hyperdisk-balanced.",
"type": "string",
"format": "int64"
},
"bootDiskType": {
"type": "string",
"description": "Optional. Type of the boot disk (default is pd-standard). Valid values: pd-balanced (Persistent Disk Balanced Solid State Drive), pd-ssd (Persistent Disk Solid State Drive), or pd-standard (Persistent Disk Hard Disk Drive). See Disk types (https://cloud.google.com/compute/docs/disks#disk-types)."
},
"numLocalSsds": {
"format": "int32",
"type": "integer",
"description": "Optional. Number of attached SSDs, from 0 to 8 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.Note: Local SSD options may vary by machine type and number of vCPUs selected."
},
"bootDiskProvisionedThroughput": {
"format": "int64",
"description": "Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be greater than or equal to 1. This field is supported only if boot_disk_type is hyperdisk-balanced.",
"type": "string"
},
"attachedDiskConfigs": {
"type": "array",
"items": {
"$ref": "#/$defs/AttachedDiskConfig"
},
"description": "Optional. A list of attached disk configs for a group of VM instances."
},
"localSsdInterface": {
"description": "Optional. Interface type of local SSDs (default is scsi). Valid values: scsi (Small Computer System Interface), nvme (Non-Volatile Memory Express). See local SSD performance (https://cloud.google.com/compute/docs/disks/local-ssd#performance).",
"type": "string"
}
},
"description": "Specifies the config of boot disk and attached disk options for a group of VM instances."
},
"EncryptionConfig": {
"properties": {
"kmsKey": {
"description": "Optional. The Cloud KMS key resource name to use for cluster persistent disk and job argument encryption. See Use CMEK with cluster data (https://cloud.google.com//dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_cluster_data) for more information.When this key resource name is provided, the following job arguments of the following job types submitted to the cluster are encrypted using CMEK: FlinkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/FlinkJob) HadoopJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/HadoopJob) SparkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkJob) SparkRJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkRJob) PySparkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/PySparkJob) SparkSqlJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkSqlJob) scriptVariables and queryList.queries HiveJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/HiveJob) scriptVariables and queryList.queries PigJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/PigJob) scriptVariables and queryList.queries PrestoJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/PrestoJob) scriptVariables and queryList.queries",
"type": "string"
},
"gcePdKmsKeyName": {
"type": "string",
"description": "Optional. The Cloud KMS key resource name to use for persistent disk encryption for all instances in the cluster. See Use CMEK with cluster data (https://cloud.google.com//dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_cluster_data) for more information."
}
},
"description": "Encryption settings for the cluster.",
"type": "object"
},
"EndpointConfig": {
"type": "object",
"properties": {
"httpPorts": {
"readOnly": true,
"description": "Output only. The map of port descriptions to URLs. Will only be populated if enable_http_port_access is true.",
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"enableHttpPortAccess": {
"type": "boolean",
"description": "Optional. If true, enable http access to specific ports on the cluster from external sources. Defaults to false."
}
},
"description": "Endpoint config for this cluster"
},
"FlexibleInstanceGroupConfig": {
"description": "The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state.",
"type": "object",
"properties": {
"bootDiskSizeGb": {
"description": "Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks.",
"type": "integer",
"format": "int32"
},
"coreCount": {
"type": "integer",
"description": "Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks.",
"format": "int32"
},
"hardwareClass": {
"description": "Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks.",
"type": "string",
"enum": [
"HARDWARE_CLASS_UNSPECIFIED",
"STANDARD",
"PERFORMANCE"
]
},
"numInstances": {
"format": "int32",
"description": "Optional. The number of VM instances requested.For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling.",
"type": "integer"
}
}
},
"GceClusterConfig": {
"type": "object",
"description": "Common config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster.",
"properties": {
"zoneUri": {
"description": "Optional. The Compute Engine zone where the cluster will be located. If omitted, the service will pick a zone in the cluster's Compute Engine region. On a get request, zone will always be present.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone] projects/[project_id]/zones/[zone] [zone]",
"type": "string"
},
"serviceAccountScopes": {
"items": {
"type": "string"
},
"description": "Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: https://www.googleapis.com/auth/cloud.useraccounts.readonly https://www.googleapis.com/auth/devstorage.read_write https://www.googleapis.com/auth/logging.writeIf no scopes are specified, the following defaults are also provided: https://www.googleapis.com/auth/bigquery https://www.googleapis.com/auth/bigtable.admin.table https://www.googleapis.com/auth/bigtable.data https://www.googleapis.com/auth/devstorage.full_control",
"type": "array"
},
"confidentialInstanceConfig": {
"$ref": "#/$defs/ConfidentialInstanceConfig",
"description": "Optional. Confidential Instance Config for clusters using Confidential VMs (https://cloud.google.com/confidential-computing/confidential-vm/docs)."
},
"networkUri": {
"type": "string",
"description": "Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the \"default\" network of the project is used, if it exists. Cannot be a Custom Subnet Network (see Using Subnetworks (https://cloud.google.com/compute/docs/subnetworks) for more information).A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/global/networks/default projects/[project_id]/global/networks/default default"
},
"tags": {
"description": "The Compute Engine network tags to add to all instances (see Tagging instances (https://cloud.google.com/vpc/docs/add-remove-network-tags)).",
"items": {
"type": "string"
},
"type": "array"
},
"nodeGroupAffinity": {
"$ref": "#/$defs/NodeGroupAffinity",
"description": "Optional. Node Group Affinity for sole-tenant clusters."
},
"multiZoneConfig": {
"$ref": "#/$defs/MultiZoneConfig",
"description": "Optional. Controls how instances within this Cluster are allowed to exist in multiple Zones within the Region. Only one of zone_uri or multi_zone_config must be set."
},
"shieldedInstanceConfig": {
"$ref": "#/$defs/ShieldedInstanceConfig",
"description": "Optional. Shielded Instance Config for clusters using Compute Engine Shielded VMs (https://cloud.google.com/security/shielded-cloud/shielded-vm)."
},
"serviceAccount": {
"description": "Optional. The VM service account (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc) (also see VM Data Plane identity (https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity)) used by cluster VM instances to access Google Cloud Platform services.If not specified, the Compute Engine default service account (https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.",
"type": "string"
},
"subnetworkUri": {
"description": "Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/[region]/subnetworks/sub0 projects/[project_id]/regions/[region]/subnetworks/sub0 sub0",
"type": "string"
},
"reservationAffinity": {
"$ref": "#/$defs/ReservationAffinity",
"description": "Optional. Reservation Affinity for consuming Zonal reservation."
},
"resourceManagerTags": {
"additionalProperties": {
"type": "string"
},
"description": "Optional. Resource manager tags (https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing) to add to all instances (see Use secure tags (https://cloud.google.com/dataproc/docs/guides/use-secure-tags)).",
"type": "object"
},
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Optional. The Compute Engine metadata entries to add to all instances (see Project and instance metadata (https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata))."
},
"autoZoneExcludeZoneUris": {
"items": {
"type": "string"
},
"description": "Optional. An optional list of Compute Engine zones where the cluster will not be located when Auto Zone is enabled. Only one of zone_uri or auto_zone_exclude_zone_uris can be set. If both are omitted, the service will pick a zone in the cluster Compute Engine region. If auto_zone_exclude_zone_uris is set and there is more than one non-excluded zone, the service will pick one of the non-excluded zones. Otherwise, cluster creation will fail with INVALID_ARGUMENT error.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/
# --- truncated at 32 KB (75 KB total) ---
# Full source: https://artifacts.apis.io/google-cloud-dataproc/json-schema/google-cloud-dataproc-cluster-schema.json
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-cloud-dataproc-cluster"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.