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

The 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/guides/dpgke/dataproc-gke-overview).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VirtualClusterConfig

Returns a new instance of VirtualClusterConfig.



6274
6275
6276
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6274

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



6254
6255
6256
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6254

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



6259
6260
6261
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6259

def kubernetes_cluster_config
  @kubernetes_cluster_config
end

#staging_bucketString

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 (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)


6272
6273
6274
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6272

def staging_bucket
  @staging_bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6279
6280
6281
6282
6283
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6279

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