Class: Google::Apis::DataprocV1beta2::ClusterOperationMetadata
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DataprocV1beta2::ClusterOperationMetadata
 
- 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
Metadata describing the operation.
Instance Attribute Summary collapse
- 
  
    
      #cluster_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #cluster_uuid  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #labels  ⇒ Hash<String,String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #operation_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #status  ⇒ Google::Apis::DataprocV1beta2::ClusterOperationStatus 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The status of the operation. 
- 
  
    
      #status_history  ⇒ Array<Google::Apis::DataprocV1beta2::ClusterOperationStatus> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #warnings  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ClusterOperationMetadata 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ClusterOperationMetadata. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClusterOperationMetadata
Returns a new instance of ClusterOperationMetadata
| 363 364 365 | # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 363 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#cluster_name ⇒ String
Output only. Name of the cluster for the operation.
Corresponds to the JSON property clusterName
| 326 327 328 | # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 326 def cluster_name @cluster_name end | 
#cluster_uuid ⇒ String
Output only. Cluster UUID for the operation.
Corresponds to the JSON property clusterUuid
| 331 332 333 | # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 331 def cluster_uuid @cluster_uuid end | 
#description ⇒ String
Output only. Short description of operation.
Corresponds to the JSON property description
| 336 337 338 | # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 336 def description @description end | 
#labels ⇒ Hash<String,String>
Output only. Labels associated with the operation
Corresponds to the JSON property labels
| 341 342 343 | # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 341 def labels @labels end | 
#operation_type ⇒ String
Output only. The operation type.
Corresponds to the JSON property operationType
| 346 347 348 | # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 346 def operation_type @operation_type end | 
#status ⇒ Google::Apis::DataprocV1beta2::ClusterOperationStatus
The status of the operation.
Corresponds to the JSON property status
| 351 352 353 | # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 351 def status @status end | 
#status_history ⇒ Array<Google::Apis::DataprocV1beta2::ClusterOperationStatus>
Output only. The previous operation status.
Corresponds to the JSON property statusHistory
| 356 357 358 | # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 356 def status_history @status_history end | 
#warnings ⇒ Array<String>
Output only. Errors encountered during operation execution.
Corresponds to the JSON property warnings
| 361 362 363 | # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 361 def warnings @warnings end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 368 369 370 371 372 373 374 375 376 377 | # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 368 def update!(**args) @cluster_name = args[:cluster_name] if args.key?(:cluster_name) @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) @description = args[:description] if args.key?(:description) @labels = args[:labels] if args.key?(:labels) @operation_type = args[:operation_type] if args.key?(:operation_type) @status = args[:status] if args.key?(:status) @status_history = args[:status_history] if args.key?(:status_history) @warnings = args[:warnings] if args.key?(:warnings) end |