Google Cloud Dataproc V1 Client - Class VirtualClusterConfig (3.5.1)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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 Google\Cloud\Dataproc\V1\KubernetesClusterConfig

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

↳ auxiliary_services_config Google\Cloud\Dataproc\V1\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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getKubernetesClusterConfig

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

Returns
TypeDescription
Google\Cloud\Dataproc\V1\KubernetesClusterConfig|null

hasKubernetesClusterConfig

setKubernetesClusterConfig

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

Parameter
NameDescription
var Google\Cloud\Dataproc\V1\KubernetesClusterConfig
Returns
TypeDescription
$this

getAuxiliaryServicesConfig

Optional. Configuration of auxiliary services used by this cluster.

Returns
TypeDescription
Google\Cloud\Dataproc\V1\AuxiliaryServicesConfig|null

hasAuxiliaryServicesConfig

clearAuxiliaryServicesConfig

setAuxiliaryServicesConfig

Optional. Configuration of auxiliary services used by this cluster.

Parameter
NameDescription
var Google\Cloud\Dataproc\V1\AuxiliaryServicesConfig
Returns
TypeDescription
$this

getInfrastructureConfig

Returns
TypeDescription
string