Class: Google::Apis::DataprocV1::VirtualClusterConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb

Overview

Dataproc cluster config for a cluster that does not directly control the underlying compute resources, such as a Dataproc-on-GKE cluster (https://cloud. google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke- cluster).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VirtualClusterConfig

Returns a new instance of VirtualClusterConfig.



4714
4715
4716
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4714

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#auxiliary_services_configGoogle::Apis::DataprocV1::AuxiliaryServicesConfig

Auxiliary services configuration for a Cluster. Corresponds to the JSON property auxiliaryServicesConfig



4694
4695
4696
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4694

def auxiliary_services_config
  @auxiliary_services_config
end

#kubernetes_cluster_configGoogle::Apis::DataprocV1::KubernetesClusterConfig

The configuration for running the Dataproc cluster on Kubernetes. Corresponds to the JSON property kubernetesClusterConfig



4699
4700
4701
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4699

def kubernetes_cluster_config
  @kubernetes_cluster_config
end

#staging_bucketString

Optional. A 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 (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. Corresponds to the JSON property stagingBucket

Returns:

  • (String)


4712
4713
4714
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4712

def staging_bucket
  @staging_bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4719
4720
4721
4722
4723
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4719

def update!(**args)
  @auxiliary_services_config = args[:auxiliary_services_config] if args.key?(:auxiliary_services_config)
  @kubernetes_cluster_config = args[:kubernetes_cluster_config] if args.key?(:kubernetes_cluster_config)
  @staging_bucket = args[:staging_bucket] if args.key?(:staging_bucket)
end