class Google::Apis::DataprocV1beta2::JobPlacement

Dataproc job config.

Attributes

cluster_labels[RW]

Optional. Cluster labels to identify a cluster where the job will be submitted. Corresponds to the JSON property `clusterLabels` @return [Hash<String,String>]

cluster_name[RW]

Required. The name of the cluster where the job will be submitted. Corresponds to the JSON property `clusterName` @return [String]

cluster_uuid[RW]

Output only. A cluster UUID generated by the Dataproc service when the job is submitted. Corresponds to the JSON property `clusterUuid` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 1726
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataproc_v1beta2/classes.rb, line 1731
def update!(**args)
  @cluster_labels = args[:cluster_labels] if args.key?(:cluster_labels)
  @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
  @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
end