Google Cloud Dataproc V1 Client - Class VirtualClusterConfig (2.1.0)

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

hasKubernetesClusterConfig

setKubernetesClusterConfig

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

Parameter
Name Description
var Google\Cloud\Dataproc\V1\KubernetesClusterConfig
Returns
Type Description
$this

getAuxiliaryServicesConfig

Optional. Configuration of auxiliary services used by this cluster.

Returns
Type Description
Google\Cloud\Dataproc\V1\AuxiliaryServicesConfig|null

hasAuxiliaryServicesConfig

clearAuxiliaryServicesConfig

setAuxiliaryServicesConfig

Optional. Configuration of auxiliary services used by this cluster.

Parameter
Name Description
var Google\Cloud\Dataproc\V1\AuxiliaryServicesConfig
Returns
Type Description
$this

getInfrastructureConfig

Returns
Type Description
string