Class: Google::Apis::DataprocV1beta2::JobPlacement
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DataprocV1beta2::JobPlacement
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/dataproc_v1beta2/classes.rb,
generated/google/apis/dataproc_v1beta2/representations.rb,
generated/google/apis/dataproc_v1beta2/representations.rb 
Overview
Cloud Dataproc job config.
Instance Attribute Summary collapse
- 
  
    
      #cluster_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #cluster_uuid  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ JobPlacement 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of JobPlacement.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ JobPlacement
Returns a new instance of JobPlacement
      1169 1170 1171  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1169 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#cluster_name ⇒ String
Required. The name of the cluster where the job will be submitted.
Corresponds to the JSON property clusterName
      1161 1162 1163  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1161 def cluster_name @cluster_name end  | 
  
#cluster_uuid ⇒ String
Output only. A cluster UUID generated by the Cloud Dataproc service when the
job is submitted.
Corresponds to the JSON property clusterUuid
      1167 1168 1169  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1167 def cluster_uuid @cluster_uuid end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1174 1175 1176 1177  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1174 def update!(**args) @cluster_name = args[:cluster_name] if args.key?(:cluster_name) @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) end  |