// Copyright 2023 Google LLC. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // GENERATED BY gen_go_data.go // gen_go_data -package dataproc -var YAML_cluster blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataproc/cluster.yaml package dataproc // blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataproc/cluster.yaml var YAML_cluster = []byte("info:\n title: Dataproc/Cluster\n description: The Dataproc Cluster resource\n x-dcl-struct-name: Cluster\n x-dcl-has-iam: true\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/regions/{{location}}/clusters/{{name}}\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-labels: labels\n x-dcl-has-create: true\n x-dcl-has-iam: true\n x-dcl-read-timeout: 0\n x-dcl-apply-timeout: 0\n x-dcl-delete-timeout: 0\n type: object\n required:\n - project\n - name\n - location\n properties:\n clusterUuid:\n type: string\n x-dcl-go-name: ClusterUuid\n readOnly: true\n description: Output only. A cluster UUID (Unique Universal Identifier).\n Dataproc generates this value when it creates the cluster.\n x-kubernetes-immutable: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: ClusterConfig\n description: The cluster config. Note that Dataproc may set default values,\n and values may change when clusters are updated.\n x-kubernetes-immutable: true\n properties:\n autoscalingConfig:\n type: object\n x-dcl-go-name: AutoscalingConfig\n x-dcl-go-type: ClusterConfigAutoscalingConfig\n description: Optional. Autoscaling config for the policy associated\n with the cluster. Cluster does not autoscale if this field is unset.\n x-kubernetes-immutable: true\n properties:\n policy:\n type: string\n x-dcl-go-name: Policy\n description: 'Optional. The autoscaling policy used by the cluster.\n Only resource names including projectid and location (region)\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n * `projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]`\n Note that the policy must be in the same project and Dataproc\n region.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Dataproc/AutoscalingPolicy\n field: name\n dataprocMetricConfig:\n type: object\n x-dcl-go-name: DataprocMetricConfig\n x-dcl-go-type: ClusterConfigDataprocMetricConfig\n description: Optional. The config for Dataproc metrics.\n x-kubernetes-immutable: true\n required:\n - metrics\n properties:\n metrics:\n type: array\n x-dcl-go-name: Metrics\n description: Required. Metrics sources to enable.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigDataprocMetricConfigMetrics\n required:\n - metricSource\n properties:\n metricOverrides:\n type: array\n x-dcl-go-name: MetricOverrides\n description: 'Optional. Specify one or more [available OSS\n metrics] (https://cloud.google.com/dataproc/docs/guides/monitoring#available_oss_metrics)\n to collect for the metric course (for the `SPARK` metric\n source, any [Spark metric] (https://spark.apache.org/docs/latest/monitoring.html#metrics)\n can be specified). Provide metrics in the following format:\n `METRIC_SOURCE:INSTANCE:GROUP:METRIC` Use camelcase as appropriate.\n Examples: ``` yarn:ResourceManager:QueueMetrics:AppsCompleted\n spark:driver:DAGScheduler:job.allJobs sparkHistoryServer:JVM:Memory:NonHeapMemoryUsage.committed\n hiveserver2:JVM:Memory:NonHeapMemoryUsage.used ``` Notes:\n * Only the specified overridden metrics will be collected\n for the metric source. For example, if one or more `spark:executive`\n metrics are listed as metric overrides, other `SPARK` metrics\n will not be collected. The collection of the default metrics\n for other OSS metric sources is unaffected. For example,\n if both `SPARK` andd `YARN` metric sources are enabled,\n and overrides are provided for Spark metrics only, all default\n YARN metrics will be collected.'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n metricSource:\n type: string\n x-dcl-go-name: MetricSource\n x-dcl-go-type: ClusterConfigDataprocMetricConfigMetricsMetricSourceEnum\n description: 'Required. Default metrics are collected unless\n `metricOverrides` are specified for the metric source (see\n [Available OSS metrics] (https://cloud.google.com/dataproc/docs/guides/monitoring#available_oss_metrics)\n for more information). Possible values: METRIC_SOURCE_UNSPECIFIED,\n MONITORING_AGENT_DEFAULTS, HDFS, SPARK, YARN, SPARK_HISTORY_SERVER,\n HIVESERVER2'\n x-kubernetes-immutable: true\n enum:\n - METRIC_SOURCE_UNSPECIFIED\n - MONITORING_AGENT_DEFAULTS\n - HDFS\n - SPARK\n - YARN\n - SPARK_HISTORY_SERVER\n - HIVESERVER2\n encryptionConfig:\n type: object\n x-dcl-go-name: EncryptionConfig\n x-dcl-go-type: ClusterConfigEncryptionConfig\n description: Optional. Encryption settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n gcePdKmsKeyName:\n type: string\n x-dcl-go-name: GcePdKmsKeyName\n description: Optional. The Cloud KMS key name to use for PD disk\n encryption for all instances in the cluster.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n endpointConfig:\n type: object\n x-dcl-go-name: EndpointConfig\n x-dcl-go-type: ClusterConfigEndpointConfig\n description: Optional. Port/endpoint configuration for this cluster\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n enableHttpPortAccess:\n type: boolean\n x-dcl-go-name: EnableHttpPortAccess\n description: Optional. If true, enable http access to specific ports\n on the cluster from external sources. Defaults to false.\n x-kubernetes-immutable: true\n httpPorts:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HttpPorts\n readOnly: true\n description: Output only. The map of port descriptions to URLs.\n Will only be populated if enable_http_port_access is true.\n x-kubernetes-immutable: true\n gceClusterConfig:\n type: object\n x-dcl-go-name: GceClusterConfig\n x-dcl-go-type: ClusterConfigGceClusterConfig\n description: Optional. The shared Compute Engine config settings for\n all instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n confidentialInstanceConfig:\n type: object\n x-dcl-go-name: ConfidentialInstanceConfig\n x-dcl-go-type: ClusterConfigGceClusterConfigConfidentialInstanceConfig\n description: Optional. Confidential Instance Config for clusters\n using [Confidential VMs](https://cloud.google.com/compute/confidential-vm/docs).\n x-kubernetes-immutable: true\n properties:\n enableConfidentialCompute:\n type: boolean\n x-dcl-go-name: EnableConfidentialCompute\n description: Optional. Defines whether the instance should have\n confidential compute enabled.\n x-kubernetes-immutable: true\n internalIPOnly:\n type: boolean\n x-dcl-go-name: InternalIPOnly\n description: Optional. If true, all instances in the cluster will\n only have internal IP addresses. By default, clusters are not\n restricted to internal IP addresses, and will have ephemeral external\n IP addresses assigned to each instance. This `internal_ip_only`\n restriction can only be enabled for subnetwork enabled networks,\n and all off-cluster dependencies must be configured to be accessible\n without external IP addresses.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n metadata:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Metadata\n description: The Compute Engine metadata entries to add to all instances\n (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'Optional. The Compute Engine network to be used for\n machine communications. Cannot be specified with subnetwork_uri.\n If neither `network_uri` nor `subnetwork_uri` is specified, the\n \"default\" network of the project is used, if it exists. Cannot\n be a \"Custom Subnet Network\" (see [Using Subnetworks](https://cloud.google.com/compute/docs/subnetworks)\n for more information). A full URL, partial URI, or short name\n are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`\n * `projects/[project_id]/regions/global/default` * `default`'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n nodeGroupAffinity:\n type: object\n x-dcl-go-name: NodeGroupAffinity\n x-dcl-go-type: ClusterConfigGceClusterConfigNodeGroupAffinity\n description: Optional. Node Group Affinity for sole-tenant clusters.\n x-kubernetes-immutable: true\n required:\n - nodeGroup\n properties:\n nodeGroup:\n type: string\n x-dcl-go-name: NodeGroup\n description: 'Required. The URI of a sole-tenant [node group\n resource](https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups)\n that the cluster will be created on. A full URL, partial URI,\n or node group name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1`\n * `node-group-1`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/NodeGroup\n field: selfLink\n privateIPv6GoogleAccess:\n type: string\n x-dcl-go-name: PrivateIPv6GoogleAccess\n x-dcl-go-type: ClusterConfigGceClusterConfigPrivateIPv6GoogleAccessEnum\n description: 'Optional. The type of IPv6 access for a cluster. Possible\n values: PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED, INHERIT_FROM_SUBNETWORK,\n OUTBOUND, BIDIRECTIONAL'\n x-kubernetes-immutable: true\n enum:\n - PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\n - INHERIT_FROM_SUBNETWORK\n - OUTBOUND\n - BIDIRECTIONAL\n reservationAffinity:\n type: object\n x-dcl-go-name: ReservationAffinity\n x-dcl-go-type: ClusterConfigGceClusterConfigReservationAffinity\n description: Optional. Reservation Affinity for consuming Zonal\n reservation.\n x-kubernetes-immutable: true\n properties:\n consumeReservationType:\n type: string\n x-dcl-go-name: ConsumeReservationType\n x-dcl-go-type: ClusterConfigGceClusterConfigReservationAffinityConsumeReservationTypeEnum\n description: 'Optional. Type of reservation to consume Possible\n values: TYPE_UNSPECIFIED, NO_RESERVATION, ANY_RESERVATION,\n SPECIFIC_RESERVATION'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - NO_RESERVATION\n - ANY_RESERVATION\n - SPECIFIC_RESERVATION\n key:\n type: string\n x-dcl-go-name: Key\n description: Optional. Corresponds to the label key of reservation\n resource.\n x-kubernetes-immutable: true\n values:\n type: array\n x-dcl-go-name: Values\n description: Optional. Corresponds to the label values of reservation\n resource.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n description: Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc)\n (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity))\n used by Dataproc cluster VM instances to access Google Cloud Platform\n services. If not specified, the [Compute Engine default service\n account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)\n is used.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Iam/ServiceAccount\n field: email\n serviceAccountScopes:\n type: array\n x-dcl-go-name: ServiceAccountScopes\n description: 'Optional. The URIs of service account scopes to be\n included in Compute Engine instances. The following base set of\n scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly\n * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write\n If no scopes are specified, the following defaults are also provided:\n * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table\n * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n shieldedInstanceConfig:\n type: object\n x-dcl-go-name: ShieldedInstanceConfig\n x-dcl-go-type: ClusterConfigGceClusterConfigShieldedInstanceConfig\n description: Optional. Shielded Instance Config for clusters using\n [Compute Engine Shielded VMs](https://cloud.google.com/security/shielded-cloud/shielded-vm).\n x-kubernetes-immutable: true\n properties:\n enableIntegrityMonitoring:\n type: boolean\n x-dcl-go-name: EnableIntegrityMonitoring\n description: Optional. Defines whether instances have integrity\n monitoring enabled.\n x-kubernetes-immutable: true\n enableSecureBoot:\n type: boolean\n x-dcl-go-name: EnableSecureBoot\n description: Optional. Defines whether instances have Secure\n Boot enabled.\n x-kubernetes-immutable: true\n enableVtpm:\n type: boolean\n x-dcl-go-name: EnableVtpm\n description: Optional. Defines whether instances have the vTPM\n enabled.\n x-kubernetes-immutable: true\n subnetwork:\n type: string\n x-dcl-go-name: Subnetwork\n description: 'Optional. The Compute Engine subnetwork to be used\n for machine communications. Cannot be specified with network_uri.\n A full URL, partial URI, or short name are valid. Examples: *\n `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0`\n * `projects/[project_id]/regions/us-east1/subnetworks/sub0` *\n `sub0`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Subnetwork\n field: selfLink\n tags:\n type: array\n x-dcl-go-name: Tags\n description: The Compute Engine tags to add to all instances (see\n [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: set\n items:\n type: string\n x-dcl-go-type: string\n zone:\n type: string\n x-dcl-go-name: Zone\n description: 'Optional. The zone where the Compute Engine cluster\n will be located. On a create request, it is required in the \"global\"\n region. If omitted in a non-global Dataproc region, the service\n will pick a zone in the corresponding Compute Engine region. On\n a get request, zone will always be present. A full URL, partial\n URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]`\n * `projects/[project_id]/zones/[zone]` * `us-central1-f`'\n x-kubernetes-immutable: true\n initializationActions:\n type: array\n x-dcl-go-name: InitializationActions\n description: 'Optional. Commands to execute on each node after config\n is completed. By default, executables are run on master and all worker\n nodes. You can test a node''s `role` metadata to run an executable\n on a master or worker node, as shown below using `curl` (you can also\n use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)\n if [[ \"${ROLE}\" == ''Master'' ]]; then ... master specific actions\n ... else ... worker specific actions ... fi'\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigInitializationActions\n required:\n - executableFile\n properties:\n executableFile:\n type: string\n x-dcl-go-name: ExecutableFile\n description: Required. Cloud Storage URI of executable file.\n x-kubernetes-immutable: true\n executionTimeout:\n type: string\n x-dcl-go-name: ExecutionTimeout\n description: Optional. Amount of time executable has to complete.\n Default is 10 minutes (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n Cluster creation fails with an explanatory error message (the\n name of the executable that caused the error and the exceeded\n timeout period) if the executable is not completed at end of\n the timeout period.\n x-kubernetes-immutable: true\n lifecycleConfig:\n type: object\n x-dcl-go-name: LifecycleConfig\n x-dcl-go-type: ClusterConfigLifecycleConfig\n description: Optional. Lifecycle setting for the cluster.\n x-kubernetes-immutable: true\n properties:\n autoDeleteTime:\n type: string\n format: date-time\n x-dcl-go-name: AutoDeleteTime\n description: Optional. The time when cluster will be auto-deleted\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n autoDeleteTtl:\n type: string\n x-dcl-go-name: AutoDeleteTtl\n description: Optional. The lifetime duration of cluster. The cluster\n will be auto-deleted at the end of this period. Minimum value\n is 10 minutes; maximum value is 14 days (see JSON representation\n of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleDeleteTtl:\n type: string\n x-dcl-go-name: IdleDeleteTtl\n description: Optional. The duration to keep the cluster alive while\n idling (when no jobs are running). Passing this threshold will\n cause the cluster to be deleted. Minimum value is 5 minutes; maximum\n value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n idleStartTime:\n type: string\n format: date-time\n x-dcl-go-name: IdleStartTime\n readOnly: true\n description: Output only. The time when cluster became idle (most\n recent job finished) and became eligible for deletion due to idleness\n (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n masterConfig:\n type: object\n x-dcl-go-name: MasterConfig\n x-dcl-go-type: ClusterConfigMasterConfig\n description: Optional. The Compute Engine config settings for the master\n instance in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigMasterConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigMasterConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n localSsdInterface:\n type: string\n x-dcl-go-name: LocalSsdInterface\n description: 'Optional. Interface type of local SSDs (default\n is \"scsi\"). Valid values: \"scsi\" (Small Computer System Interface),\n \"nvme\" (Non-Volatile Memory Express). See [local SSD performance](https://cloud.google.com/compute/docs/disks/local-ssd#performance).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n instanceReferences:\n type: array\n x-dcl-go-name: InstanceReferences\n readOnly: true\n description: Output only. List of references to Compute Engine instances.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigMasterConfigInstanceReferences\n properties:\n instanceId:\n type: string\n x-dcl-go-name: InstanceId\n description: The unique identifier of the Compute Engine instance.\n x-kubernetes-immutable: true\n instanceName:\n type: string\n x-dcl-go-name: InstanceName\n description: The user-friendly name of the Compute Engine\n instance.\n x-kubernetes-immutable: true\n publicEciesKey:\n type: string\n x-dcl-go-name: PublicEciesKey\n description: The public ECIES key used for sharing data with\n this instance.\n x-kubernetes-immutable: true\n publicKey:\n type: string\n x-dcl-go-name: PublicKey\n description: The public RSA key used for sharing data with\n this instance.\n x-kubernetes-immutable: true\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigMasterConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigMasterConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n metastoreConfig:\n type: object\n x-dcl-go-name: MetastoreConfig\n x-dcl-go-type: ClusterConfigMetastoreConfig\n description: Optional. Metastore configuration.\n x-kubernetes-immutable: true\n required:\n - dataprocMetastoreService\n properties:\n dataprocMetastoreService:\n type: string\n x-dcl-go-name: DataprocMetastoreService\n description: 'Required. Resource name of an existing Dataproc Metastore\n service. Example: * `projects/[project_id]/locations/[dataproc_region]/services/[service-name]`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Metastore/Service\n field: selfLink\n secondaryWorkerConfig:\n type: object\n x-dcl-go-name: SecondaryWorkerConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfig\n description: Optional. The Compute Engine config settings for additional\n worker instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n localSsdInterface:\n type: string\n x-dcl-go-name: LocalSsdInterface\n description: 'Optional. Interface type of local SSDs (default\n is \"scsi\"). Valid values: \"scsi\" (Small Computer System Interface),\n \"nvme\" (Non-Volatile Memory Express). See [local SSD performance](https://cloud.google.com/compute/docs/disks/local-ssd#performance).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n instanceReferences:\n type: array\n x-dcl-go-name: InstanceReferences\n readOnly: true\n description: Output only. List of references to Compute Engine instances.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigInstanceReferences\n properties:\n instanceId:\n type: string\n x-dcl-go-name: InstanceId\n description: The unique identifier of the Compute Engine instance.\n x-kubernetes-immutable: true\n instanceName:\n type: string\n x-dcl-go-name: InstanceName\n description: The user-friendly name of the Compute Engine\n instance.\n x-kubernetes-immutable: true\n publicEciesKey:\n type: string\n x-dcl-go-name: PublicEciesKey\n description: The public ECIES key used for sharing data with\n this instance.\n x-kubernetes-immutable: true\n publicKey:\n type: string\n x-dcl-go-name: PublicKey\n description: The public RSA key used for sharing data with\n this instance.\n x-kubernetes-immutable: true\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigSecondaryWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n securityConfig:\n type: object\n x-dcl-go-name: SecurityConfig\n x-dcl-go-type: ClusterConfigSecurityConfig\n description: Optional. Security settings for the cluster.\n x-kubernetes-immutable: true\n properties:\n identityConfig:\n type: object\n x-dcl-go-name: IdentityConfig\n x-dcl-go-type: ClusterConfigSecurityConfigIdentityConfig\n description: Optional. Identity related configuration, including\n service account based secure multi-tenancy user mappings.\n x-kubernetes-immutable: true\n required:\n - userServiceAccountMapping\n properties:\n userServiceAccountMapping:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: UserServiceAccountMapping\n description: Required. Map of user to service account.\n x-kubernetes-immutable: true\n kerberosConfig:\n type: object\n x-dcl-go-name: KerberosConfig\n x-dcl-go-type: ClusterConfigSecurityConfigKerberosConfig\n description: Optional. Kerberos related configuration.\n x-kubernetes-immutable: true\n properties:\n crossRealmTrustAdminServer:\n type: string\n x-dcl-go-name: CrossRealmTrustAdminServer\n description: Optional. The admin server (IP or hostname) for\n the remote trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustKdc:\n type: string\n x-dcl-go-name: CrossRealmTrustKdc\n description: Optional. The KDC (IP or hostname) for the remote\n trusted realm in a cross realm trust relationship.\n x-kubernetes-immutable: true\n crossRealmTrustRealm:\n type: string\n x-dcl-go-name: CrossRealmTrustRealm\n description: Optional. The remote realm the Dataproc on-cluster\n KDC will trust, should the user enable cross realm trust.\n x-kubernetes-immutable: true\n crossRealmTrustSharedPassword:\n type: string\n x-dcl-go-name: CrossRealmTrustSharedPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the shared password between the on-cluster\n Kerberos realm and the remote trusted realm, in a cross realm\n trust relationship.\n x-kubernetes-immutable: true\n enableKerberos:\n type: boolean\n x-dcl-go-name: EnableKerberos\n description: 'Optional. Flag to indicate whether to Kerberize\n the cluster (default: false). Set this field to true to enable\n Kerberos on a cluster.'\n x-kubernetes-immutable: true\n kdcDbKey:\n type: string\n x-dcl-go-name: KdcDbKey\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the master key of the KDC database.\n x-kubernetes-immutable: true\n keyPassword:\n type: string\n x-dcl-go-name: KeyPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided key. For\n the self-signed certificate, this password is generated by\n Dataproc.\n x-kubernetes-immutable: true\n keystore:\n type: string\n x-dcl-go-name: Keystore\n description: Optional. The Cloud Storage URI of the keystore\n file used for SSL encryption. If not provided, Dataproc will\n provide a self-signed certificate.\n x-kubernetes-immutable: true\n keystorePassword:\n type: string\n x-dcl-go-name: KeystorePassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided keystore.\n For the self-signed certificate, this password is generated\n by Dataproc.\n x-kubernetes-immutable: true\n kmsKey:\n type: string\n x-dcl-go-name: KmsKey\n description: Optional. The uri of the KMS key used to encrypt\n various sensitive files.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\n field: selfLink\n realm:\n type: string\n x-dcl-go-name: Realm\n description: Optional. The name of the on-cluster Kerberos realm.\n If not specified, the uppercased domain of hostnames will\n be the realm.\n x-kubernetes-immutable: true\n rootPrincipalPassword:\n type: string\n x-dcl-go-name: RootPrincipalPassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the root principal password.\n x-kubernetes-immutable: true\n tgtLifetimeHours:\n type: integer\n format: int64\n x-dcl-go-name: TgtLifetimeHours\n description: Optional. The lifetime of the ticket granting ticket,\n in hours. If not specified, or user specifies 0, then default\n value 10 will be used.\n x-kubernetes-immutable: true\n truststore:\n type: string\n x-dcl-go-name: Truststore\n description: Optional. The Cloud Storage URI of the truststore\n file used for SSL encryption. If not provided, Dataproc will\n provide a self-signed certificate.\n x-kubernetes-immutable: true\n truststorePassword:\n type: string\n x-dcl-go-name: TruststorePassword\n description: Optional. The Cloud Storage URI of a KMS encrypted\n file containing the password to the user provided truststore.\n For the self-signed certificate, this password is generated\n by Dataproc.\n x-kubernetes-immutable: true\n softwareConfig:\n type: object\n x-dcl-go-name: SoftwareConfig\n x-dcl-go-type: ClusterConfigSoftwareConfig\n description: Optional. The config settings for software inside the cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n imageVersion:\n type: string\n x-dcl-go-name: ImageVersion\n description: Optional. The version of software inside the cluster.\n It must be one of the supported [Dataproc Versions](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions),\n such as \"1.2\" (including a subminor version, such as \"1.2.29\"),\n or the [\"preview\" version](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).\n If unspecified, it defaults to the latest Debian version.\n x-kubernetes-immutable: true\n optionalComponents:\n type: array\n x-dcl-go-name: OptionalComponents\n description: Optional. The set of components to activate on the\n cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ClusterConfigSoftwareConfigOptionalComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - ANACONDA\n - DOCKER\n - DRUID\n - FLINK\n - HBASE\n - HIVE_WEBHCAT\n - JUPYTER\n - KERBEROS\n - PRESTO\n - RANGER\n - SOLR\n - ZEPPELIN\n - ZOOKEEPER\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: 'Optional. The properties to set on daemon config files.\n Property keys are specified in `prefix:property` format, for example\n `core:hadoop.tmp.dir`. The following are supported prefixes and\n their mappings: * capacity-scheduler: `capacity-scheduler.xml`\n * core: `core-site.xml` * distcp: `distcp-default.xml` * hdfs:\n `hdfs-site.xml` * hive: `hive-site.xml` * mapred: `mapred-site.xml`\n * pig: `pig.properties` * spark: `spark-defaults.conf` * yarn:\n `yarn-site.xml` For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).'\n x-kubernetes-immutable: true\n stagingBucket:\n type: string\n x-dcl-go-name: StagingBucket\n description: Optional. A Cloud Storage bucket used to stage job dependencies,\n config files, and job driver console output. If you do not specify\n a staging bucket, Cloud Dataproc will determine a Cloud Storage location\n (US, ASIA, or EU) for your cluster's staging bucket according to the\n Compute Engine zone where your cluster is deployed, and then create\n and manage this project-level, per-location bucket (see [Dataproc\n staging bucket](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).\n **This field requires a Cloud Storage bucket name, not a URI to a\n Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n tempBucket:\n type: string\n x-dcl-go-name: TempBucket\n description: Optional. A Cloud Storage bucket used to store ephemeral\n cluster and jobs data, such as Spark and MapReduce history files.\n If you do not specify a temp bucket, Dataproc will determine a Cloud\n Storage location (US, ASIA, or EU) for your cluster's temp bucket\n according to the Compute Engine zone where your cluster is deployed,\n and then create and manage this project-level, per-location bucket.\n The default bucket has a TTL of 90 days, but you can use any TTL (or\n none) if you specify a bucket. **This field requires a Cloud Storage\n bucket name, not a URI to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n workerConfig:\n type: object\n x-dcl-go-name: WorkerConfig\n x-dcl-go-type: ClusterConfigWorkerConfig\n description: Optional. The Compute Engine config settings for worker\n instances in a cluster.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. The Compute Engine accelerator configuration\n for these instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigWorkerConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of the accelerator cards of this type\n exposed to this instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: 'Full URL, partial URI, or short name of the\n accelerator type resource to expose to this instance. See\n [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).\n Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`\n * `nvidia-tesla-k80` **Auto Zone Exception**: If you are\n using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the accelerator\n type resource, for example, `nvidia-tesla-k80`.'\n x-kubernetes-immutable: true\n diskConfig:\n type: object\n x-dcl-go-name: DiskConfig\n x-dcl-go-type: ClusterConfigWorkerConfigDiskConfig\n description: Optional. Disk option config settings.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n bootDiskSizeGb:\n type: integer\n format: int64\n x-dcl-go-name: BootDiskSizeGb\n description: Optional. Size in GB of the boot disk (default\n is 500GB).\n x-kubernetes-immutable: true\n bootDiskType:\n type: string\n x-dcl-go-name: BootDiskType\n description: 'Optional. Type of the boot disk (default is \"pd-standard\").\n Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid\n State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive),\n or \"pd-standard\" (Persistent Disk Hard Disk Drive). See [Disk\n types](https://cloud.google.com/compute/docs/disks#disk-types).'\n x-kubernetes-immutable: true\n localSsdInterface:\n type: string\n x-dcl-go-name: LocalSsdInterface\n description: 'Optional. Interface type of local SSDs (default\n is \"scsi\"). Valid values: \"scsi\" (Small Computer System Interface),\n \"nvme\" (Non-Volatile Memory Express). See [local SSD performance](https://cloud.google.com/compute/docs/disks/local-ssd#performance).'\n x-kubernetes-immutable: true\n numLocalSsds:\n type: integer\n format: int64\n x-dcl-go-name: NumLocalSsds\n description: Optional. Number of attached SSDs, from 0 to 4\n (default is 0). If SSDs are not attached, the boot disk is\n used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html)\n data. If one or more SSDs are attached, this runtime bulk\n data is spread across them, and the boot disk contains only\n basic config and installed binaries.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n image:\n type: string\n x-dcl-go-name: Image\n description: 'Optional. The Compute Engine image resource used for\n cluster instances. The URI can represent an image or image family.\n Image examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`\n * `projects/[project_id]/global/images/[image-id]` * `image-id`\n Image family examples. Dataproc will use the most recent image\n from the family: * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`\n * `projects/[project_id]/global/images/family/[custom-image-family-name]`\n If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version`\n or the system default.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Image\n field: selfLink\n instanceNames:\n type: array\n x-dcl-go-name: InstanceNames\n readOnly: true\n description: Output only. The list of instance names. Dataproc derives\n the names from `cluster_name`, `num_instances`, and the instance\n group.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n instanceReferences:\n type: array\n x-dcl-go-name: InstanceReferences\n readOnly: true\n description: Output only. List of references to Compute Engine instances.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterConfigWorkerConfigInstanceReferences\n properties:\n instanceId:\n type: string\n x-dcl-go-name: InstanceId\n description: The unique identifier of the Compute Engine instance.\n x-kubernetes-immutable: true\n instanceName:\n type: string\n x-dcl-go-name: InstanceName\n description: The user-friendly name of the Compute Engine\n instance.\n x-kubernetes-immutable: true\n publicEciesKey:\n type: string\n x-dcl-go-name: PublicEciesKey\n description: The public ECIES key used for sharing data with\n this instance.\n x-kubernetes-immutable: true\n publicKey:\n type: string\n x-dcl-go-name: PublicKey\n description: The public RSA key used for sharing data with\n this instance.\n x-kubernetes-immutable: true\n isPreemptible:\n type: boolean\n x-dcl-go-name: IsPreemptible\n readOnly: true\n description: Output only. Specifies that this instance group contains\n preemptible instances.\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: 'Optional. The Compute Engine machine type used for\n cluster instances. A full URL, partial URI, or short name are\n valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`\n * `n1-standard-2` **Auto Zone Exception**: If you are using the\n Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)\n feature, you must use the short name of the machine type resource,\n for example, `n1-standard-2`.'\n x-kubernetes-immutable: true\n managedGroupConfig:\n type: object\n x-dcl-go-name: ManagedGroupConfig\n x-dcl-go-type: ClusterConfigWorkerConfigManagedGroupConfig\n readOnly: true\n description: Output only. The config for Compute Engine Instance\n Group Manager that manages this group. This is only used for preemptible\n instance groups.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n instanceGroupManagerName:\n type: string\n x-dcl-go-name: InstanceGroupManagerName\n readOnly: true\n description: Output only. The name of the Instance Group Manager\n for this group.\n x-kubernetes-immutable: true\n instanceTemplateName:\n type: string\n x-dcl-go-name: InstanceTemplateName\n readOnly: true\n description: Output only. The name of the Instance Template\n used for the Managed Instance Group.\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. Specifies the minimum cpu platform for the\n Instance Group. See [Dataproc -> Minimum CPU Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n numInstances:\n type: integer\n format: int64\n x-dcl-go-name: NumInstances\n description: Optional. The number of VM instances in the instance\n group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability)\n [master_config](#FIELDS.master_config) groups, **must be set to\n 3**. For standard cluster [master_config](#FIELDS.master_config)\n groups, **must be set to 1**.\n x-kubernetes-immutable: true\n preemptibility:\n type: string\n x-dcl-go-name: Preemptibility\n x-dcl-go-type: ClusterConfigWorkerConfigPreemptibilityEnum\n description: 'Optional. Specifies the preemptibility of the instance\n group. The default value for master and worker groups is `NON_PREEMPTIBLE`.\n This default cannot be changed. The default value for secondary\n instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED,\n NON_PREEMPTIBLE, PREEMPTIBLE'\n x-kubernetes-immutable: true\n enum:\n - PREEMPTIBILITY_UNSPECIFIED\n - NON_PREEMPTIBLE\n - PREEMPTIBLE\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. The labels to associate with this cluster. Label\n **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).\n Label **values** may be empty, but, if present, must contain 1 to 63 characters,\n and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).\n No more than 32 labels can be associated with a cluster.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource, usually a GCP region.\n x-kubernetes-immutable: true\n metrics:\n type: object\n x-dcl-go-name: Metrics\n x-dcl-go-type: ClusterMetrics\n readOnly: true\n description: 'Output only. Contains cluster daemon metrics such as HDFS\n and YARN stats. **Beta Feature**: This report is available for testing\n purposes only. It may be changed before final release.'\n x-kubernetes-immutable: true\n properties:\n hdfsMetrics:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: HdfsMetrics\n description: The HDFS metrics.\n x-kubernetes-immutable: true\n yarnMetrics:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: YarnMetrics\n description: The YARN metrics.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The cluster name. Cluster names within a project\n must be unique. Names of deleted clusters can be reused.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: Required. The Google Cloud Platform project ID that the cluster\n belongs to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n status:\n type: object\n x-dcl-go-name: Status\n x-dcl-go-type: ClusterStatus\n readOnly: true\n description: Output only. Cluster status.\n x-kubernetes-immutable: true\n properties:\n detail:\n type: string\n x-dcl-go-name: Detail\n readOnly: true\n description: Optional. Output only. Details of cluster's state.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStatusStateEnum\n readOnly: true\n description: 'Output only. The cluster''s state. Possible values: UNKNOWN,\n CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING, STOPPED, STARTING'\n x-kubernetes-immutable: true\n enum:\n - UNKNOWN\n - CREATING\n - RUNNING\n - ERROR\n - DELETING\n - UPDATING\n - STOPPING\n - STOPPED\n - STARTING\n stateStartTime:\n type: string\n format: date-time\n x-dcl-go-name: StateStartTime\n readOnly: true\n description: Output only. Time when this state was entered (see JSON\n representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n substate:\n type: string\n x-dcl-go-name: Substate\n x-dcl-go-type: ClusterStatusSubstateEnum\n readOnly: true\n description: 'Output only. Additional state information that includes\n status reported by the agent. Possible values: UNSPECIFIED, UNHEALTHY,\n STALE_STATUS'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED\n - UNHEALTHY\n - STALE_STATUS\n statusHistory:\n type: array\n x-dcl-go-name: StatusHistory\n readOnly: true\n description: Output only. The previous cluster status.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterStatusHistory\n properties:\n detail:\n type: string\n x-dcl-go-name: Detail\n readOnly: true\n description: Optional. Output only. Details of cluster's state.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStatusHistoryStateEnum\n readOnly: true\n description: 'Output only. The cluster''s state. Possible values:\n UNKNOWN, CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING,\n STOPPED, STARTING'\n x-kubernetes-immutable: true\n enum:\n - UNKNOWN\n - CREATING\n - RUNNING\n - ERROR\n - DELETING\n - UPDATING\n - STOPPING\n - STOPPED\n - STARTING\n stateStartTime:\n type: string\n format: date-time\n x-dcl-go-name: StateStartTime\n readOnly: true\n description: Output only. Time when this state was entered (see JSON\n representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n x-kubernetes-immutable: true\n substate:\n type: string\n x-dcl-go-name: Substate\n x-dcl-go-type: ClusterStatusHistorySubstateEnum\n readOnly: true\n description: 'Output only. Additional state information that includes\n status reported by the agent. Possible values: UNSPECIFIED, UNHEALTHY,\n STALE_STATUS'\n x-kubernetes-immutable: true\n enum:\n - UNSPECIFIED\n - UNHEALTHY\n - STALE_STATUS\n virtualClusterConfig:\n type: object\n x-dcl-go-name: VirtualClusterConfig\n x-dcl-go-type: ClusterVirtualClusterConfig\n description: Optional. The virtual cluster config is used when creating\n a Dataproc cluster that does not directly control the underlying compute\n resources, for example, when creating a [Dataproc-on-GKE cluster](https://cloud.google.com/dataproc/docs/guides/dpgke/dataproc-gke).\n Dataproc may set default values, and values may change when clusters are\n updated. Exactly one of config or virtual_cluster_config must be specified.\n x-kubernetes-immutable: true\n required:\n - kubernetesClusterConfig\n properties:\n auxiliaryServicesConfig:\n type: object\n x-dcl-go-name: AuxiliaryServicesConfig\n x-dcl-go-type: ClusterVirtualClusterConfigAuxiliaryServicesConfig\n description: Optional. Configuration of auxiliary services used by this\n cluster.\n x-kubernetes-immutable: true\n properties:\n metastoreConfig:\n type: object\n x-dcl-go-name: MetastoreConfig\n x-dcl-go-type: ClusterVirtualClusterConfigAuxiliaryServicesConfigMetastoreConfig\n description: Optional. The Hive Metastore configuration for this\n workload.\n x-kubernetes-immutable: true\n required:\n - dataprocMetastoreService\n properties:\n dataprocMetastoreService:\n type: string\n x-dcl-go-name: DataprocMetastoreService\n description: 'Required. Resource name of an existing Dataproc\n Metastore service. Example: * `projects/[project_id]/locations/[dataproc_region]/services/[service-name]`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Metastore/Service\n field: selfLink\n sparkHistoryServerConfig:\n type: object\n x-dcl-go-name: SparkHistoryServerConfig\n x-dcl-go-type: ClusterVirtualClusterConfigAuxiliaryServicesConfigSparkHistoryServerConfig\n description: Optional. The Spark History Server configuration for\n the workload.\n x-kubernetes-immutable: true\n properties:\n dataprocCluster:\n type: string\n x-dcl-go-name: DataprocCluster\n description: 'Optional. Resource name of an existing Dataproc\n Cluster to act as a Spark History Server for the workload.\n Example: * `projects/[project_id]/regions/[region]/clusters/[cluster_name]`'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Dataproc/Cluster\n field: selfLink\n kubernetesClusterConfig:\n type: object\n x-dcl-go-name: KubernetesClusterConfig\n x-dcl-go-type: ClusterVirtualClusterConfigKubernetesClusterConfig\n description: Required. The configuration for running the Dataproc cluster\n on Kubernetes.\n x-kubernetes-immutable: true\n required:\n - gkeClusterConfig\n properties:\n gkeClusterConfig:\n type: object\n x-dcl-go-name: GkeClusterConfig\n x-dcl-go-type: ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfig\n description: Required. The configuration for running the Dataproc\n cluster on GKE.\n x-kubernetes-immutable: true\n properties:\n gkeClusterTarget:\n type: string\n x-dcl-go-name: GkeClusterTarget\n description: 'Optional. A target GKE cluster to deploy to. It\n must be in the same project and region as the Dataproc cluster\n (the GKE cluster can be zonal or regional). Format: ''projects/{project}/locations/{location}/clusters/{cluster_id}'''\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Container/Cluster\n field: selfLink\n nodePoolTarget:\n type: array\n x-dcl-go-name: NodePoolTarget\n description: Optional. GKE node pools where workloads will be\n scheduled. At least one node pool must be assigned the `DEFAULT`\n GkeNodePoolTarget.Role. If a `GkeNodePoolTarget` is not specified,\n Dataproc constructs a `DEFAULT` `GkeNodePoolTarget`. Each\n role can be given to only one `GkeNodePoolTarget`. All node\n pools must have the same location settings.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTarget\n required:\n - nodePool\n - roles\n properties:\n nodePool:\n type: string\n x-dcl-go-name: NodePool\n description: 'Required. The target GKE node pool. Format:\n ''projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'''\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Container/NodePool\n field: selfLink\n nodePoolConfig:\n type: object\n x-dcl-go-name: NodePoolConfig\n x-dcl-go-type: ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfig\n description: Input only. The configuration for the GKE\n node pool. If specified, Dataproc attempts to create\n a node pool with the specified shape. If one with the\n same name already exists, it is verified against all\n specified fields. If a field differs, the virtual cluster\n creation will fail. If omitted, any node pool with the\n specified name is used. If a node pool with the specified\n name does not exist, Dataproc create a node pool with\n default values. This is an input only field. It will\n not be returned by the API.\n x-kubernetes-immutable: true\n x-dcl-mutable-unreadable: true\n properties:\n autoscaling:\n type: object\n x-dcl-go-name: Autoscaling\n x-dcl-go-type: ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigAutoscaling\n description: Optional. The autoscaler configuration\n for this node pool. The autoscaler is enabled only\n when a valid configuration is present.\n x-kubernetes-immutable: true\n properties:\n maxNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxNodeCount\n description: The maximum number of nodes in the\n node pool. Must be >= min_node_count, and must\n be > 0. **Note:** Quota must be sufficient to\n scale up the cluster.\n x-kubernetes-immutable: true\n minNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MinNodeCount\n description: The minimum number of nodes in the\n node pool. Must be >= 0 and <= max_node_count.\n x-kubernetes-immutable: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigConfig\n description: Optional. The node pool configuration.\n x-kubernetes-immutable: true\n properties:\n accelerators:\n type: array\n x-dcl-go-name: Accelerators\n description: Optional. A list of [hardware accelerators](https://cloud.google.com/compute/docs/gpus)\n to attach to each node.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigConfigAccelerators\n properties:\n acceleratorCount:\n type: integer\n format: int64\n x-dcl-go-name: AcceleratorCount\n description: The number of accelerator cards\n exposed to an instance.\n x-kubernetes-immutable: true\n acceleratorType:\n type: string\n x-dcl-go-name: AcceleratorType\n description: The accelerator type resource\n namename (see GPUs on Compute Engine).\n x-kubernetes-immutable: true\n gpuPartitionSize:\n type: string\n x-dcl-go-name: GpuPartitionSize\n description: Size of partitions to create\n on the GPU. Valid values are described\n in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).\n x-kubernetes-immutable: true\n bootDiskKmsKey:\n type: string\n x-dcl-go-name: BootDiskKmsKey\n description: 'Optional. The [Customer Managed\n Encryption Key (CMEK)] (https://cloud.google.com/kubernetes-engine/docs/how-to/using-cmek)\n used to encrypt the boot disk attached to each\n node in the node pool. Specify the key using\n the following format: `projects/KEY_PROJECT_ID/locations/LOCATION/keyRings/RING_NAME/cryptoKeys/KEY_NAME`.'\n x-kubernetes-immutable: true\n ephemeralStorageConfig:\n type: object\n x-dcl-go-name: EphemeralStorageConfig\n x-dcl-go-type: ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigConfigEphemeralStorageConfig\n description: Optional. Parameters for the ephemeral\n storage filesystem. If unspecified, ephemeral\n storage is backed by the boot disk.\n x-kubernetes-immutable: true\n properties:\n localSsdCount:\n type: integer\n format: int64\n x-dcl-go-name: LocalSsdCount\n description: Number of local SSDs to use to\n back ephemeral storage. Uses NVMe interfaces.\n Each local SSD is 375 GB in size. If zero,\n it means to disable using local SSDs as\n ephemeral storage.\n x-kubernetes-immutable: true\n localSsdCount:\n type: integer\n format: int64\n x-dcl-go-name: LocalSsdCount\n description: Optional. The number of local SSD\n disks to attach to the node, which is limited\n by the maximum number of disks allowable per\n zone (see [Adding Local SSDs](https://cloud.google.com/compute/docs/disks/local-ssd)).\n x-kubernetes-immutable: true\n machineType:\n type: string\n x-dcl-go-name: MachineType\n description: Optional. The name of a Compute Engine\n [machine type](https://cloud.google.com/compute/docs/machine-types).\n x-kubernetes-immutable: true\n minCpuPlatform:\n type: string\n x-dcl-go-name: MinCpuPlatform\n description: Optional. [Minimum CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)\n to be used by this instance. The instance may\n be scheduled on the specified or a newer CPU\n platform. Specify the friendly names of CPU\n platforms, such as \"Intel Haswell\"` or Intel\n Sandy Bridge\".\n x-kubernetes-immutable: true\n preemptible:\n type: boolean\n x-dcl-go-name: Preemptible\n description: Optional. Whether the nodes are created\n as legacy [preemptible VM instances] (https://cloud.google.com/compute/docs/instances/preemptible).\n Also see Spot VMs, preemptible VM instances\n without a maximum lifetime. Legacy and Spot\n preemptible nodes cannot be used in a node pool\n with the `CONTROLLER` [role] (/dataproc/docs/reference/rest/v1/projects.regions.clusters#role)\n or in the DEFAULT node pool if the CONTROLLER\n role is not assigned (the DEFAULT node pool\n will assume the CONTROLLER role).\n x-kubernetes-immutable: true\n spot:\n type: boolean\n x-dcl-go-name: Spot\n description: Optional. Whether the nodes are created\n as [Spot VM instances] (https://cloud.google.com/compute/docs/instances/spot).\n Spot VMs are the latest update to legacy preemptible\n VMs. Spot VMs do not have a maximum lifetime.\n Legacy and Spot preemptible nodes cannot be\n used in a node pool with the `CONTROLLER` [role](/dataproc/docs/reference/rest/v1/projects.regions.clusters#role)\n or in the DEFAULT node pool if the CONTROLLER\n role is not assigned (the DEFAULT node pool\n will assume the CONTROLLER role).\n x-kubernetes-immutable: true\n locations:\n type: array\n x-dcl-go-name: Locations\n description: Optional. The list of Compute Engine\n [zones](https://cloud.google.com/compute/docs/zones#available)\n where node pool nodes associated with a Dataproc\n on GKE virtual cluster will be located. **Note:**\n All node pools associated with a virtual cluster\n must be located in the same region as the virtual\n cluster, and they must be located in the same zone\n within that region. If a location is not specified\n during node pool creation, Dataproc on GKE will\n choose the zone.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n roles:\n type: array\n x-dcl-go-name: Roles\n description: Required. The roles associated with the GKE\n node pool.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetRolesEnum\n enum:\n - ROLE_UNSPECIFIED\n - DEFAULT\n - CONTROLLER\n - SPARK_DRIVER\n - SPARK_EXECUTOR\n kubernetesNamespace:\n type: string\n x-dcl-go-name: KubernetesNamespace\n description: Optional. A namespace within the Kubernetes cluster\n to deploy into. If this namespace does not exist, it is created.\n If it exists, Dataproc verifies that another Dataproc VirtualCluster\n is not installed into it. If not specified, the name of the Dataproc\n Cluster is used.\n x-kubernetes-immutable: true\n kubernetesSoftwareConfig:\n type: object\n x-dcl-go-name: KubernetesSoftwareConfig\n x-dcl-go-type: ClusterVirtualClusterConfigKubernetesClusterConfigKubernetesSoftwareConfig\n description: Optional. The software configuration for this Dataproc\n cluster running on Kubernetes.\n x-kubernetes-immutable: true\n properties:\n componentVersion:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: ComponentVersion\n description: The components that should be installed in this\n Dataproc cluster. The key must be a string from the KubernetesComponent\n enumeration. The value is the version of the software to be\n installed. At least one entry must be specified.\n x-kubernetes-immutable: true\n properties:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Properties\n description: 'The properties to set on daemon config files.\n Property keys are specified in `prefix:property` format, for\n example `spark:spark.kubernetes.container.image`. The following\n are supported prefixes and their mappings: * spark: `spark-defaults.conf`\n For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).'\n x-kubernetes-immutable: true\n stagingBucket:\n type: string\n x-dcl-go-name: StagingBucket\n description: Optional. A Cloud Storage bucket used to stage job dependencies,\n config files, and job driver console output. If you do not specify\n a staging bucket, Cloud Dataproc will determine a Cloud Storage location\n (US, ASIA, or EU) for your cluster's staging bucket according to the\n Compute Engine zone where your cluster is deployed, and then create\n and manage this project-level, per-location bucket (see [Dataproc\n staging and temp buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).\n **This field requires a Cloud Storage bucket name, not a `gs://...`\n URI to a Cloud Storage bucket.**\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Storage/Bucket\n field: name\n") // 108814 bytes // MD5: 862871b994934e988532803b8c040556