Google Cloud Dataproc V1 Client - Class VirtualClusterConfig (2.2.2)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class VirtualClusterConfig.

The Dataproc cluster config for a cluster that does not directly control the underlying compute resources, such as a Dataproc-on-GKE cluster.

Generated from protobuf message google.cloud.dataproc.v1.VirtualClusterConfig

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ staging_bucket string

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, Cloud Dataproc 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 Dataproc staging and temp buckets). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.

↳ kubernetes_cluster_config KubernetesClusterConfig

Required. The configuration for running the Dataproc cluster on Kubernetes.

↳ auxiliary_services_config AuxiliaryServicesConfig

Optional. Configuration of auxiliary services used by this cluster.

getStagingBucket

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, Cloud Dataproc 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 Dataproc staging and temp buckets). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.

Returns
Type Description
string

setStagingBucket

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, Cloud Dataproc 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 Dataproc staging and temp buckets). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.

Parameter
Name Description
var string
Returns
Type Description
$this

getKubernetesClusterConfig

Required. The configuration for running the Dataproc cluster on Kubernetes.

Returns
Type Description
KubernetesClusterConfig|null

hasKubernetesClusterConfig

setKubernetesClusterConfig

Required. The configuration for running the Dataproc cluster on Kubernetes.

Parameter
Name Description
var KubernetesClusterConfig
Returns
Type Description
$this

getAuxiliaryServicesConfig

Optional. Configuration of auxiliary services used by this cluster.

Returns
Type Description
AuxiliaryServicesConfig|null

hasAuxiliaryServicesConfig

clearAuxiliaryServicesConfig

setAuxiliaryServicesConfig

Optional. Configuration of auxiliary services used by this cluster.

Parameter
Name Description
var AuxiliaryServicesConfig
Returns
Type Description
$this

getInfrastructureConfig

Returns
Type Description
string