Class: Google::Apis::DataprocV1::AnalyzeOperationMetadata

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

Metadata describing the Analyze operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AnalyzeOperationMetadata

Returns a new instance of AnalyzeOperationMetadata.



446
447
448
# File 'lib/google/apis/dataproc_v1/classes.rb', line 446

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

Instance Attribute Details

#analyzed_workload_nameString

Output only. name of the workload being analyzed. Corresponds to the JSON property analyzedWorkloadName

Returns:

  • (String)


408
409
410
# File 'lib/google/apis/dataproc_v1/classes.rb', line 408

def analyzed_workload_name
  @analyzed_workload_name
end

#analyzed_workload_typeString

Output only. Type of the workload being analyzed. Corresponds to the JSON property analyzedWorkloadType

Returns:

  • (String)


413
414
415
# File 'lib/google/apis/dataproc_v1/classes.rb', line 413

def analyzed_workload_type
  @analyzed_workload_type
end

#analyzed_workload_uuidString

Output only. unique identifier of the workload typically generated by control plane. E.g. batch uuid. Corresponds to the JSON property analyzedWorkloadUuid

Returns:

  • (String)


419
420
421
# File 'lib/google/apis/dataproc_v1/classes.rb', line 419

def analyzed_workload_uuid
  @analyzed_workload_uuid
end

#create_timeString

Output only. The time when the operation was created. Corresponds to the JSON property createTime

Returns:

  • (String)


424
425
426
# File 'lib/google/apis/dataproc_v1/classes.rb', line 424

def create_time
  @create_time
end

#descriptionString

Output only. Short description of the operation. Corresponds to the JSON property description

Returns:

  • (String)


429
430
431
# File 'lib/google/apis/dataproc_v1/classes.rb', line 429

def description
  @description
end

#done_timeString

Output only. The time when the operation finished. Corresponds to the JSON property doneTime

Returns:

  • (String)


434
435
436
# File 'lib/google/apis/dataproc_v1/classes.rb', line 434

def done_time
  @done_time
end

#labelsHash<String,String>

Output only. Labels associated with the operation. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


439
440
441
# File 'lib/google/apis/dataproc_v1/classes.rb', line 439

def labels
  @labels
end

#warningsArray<String>

Output only. Warnings encountered during operation execution. Corresponds to the JSON property warnings

Returns:

  • (Array<String>)


444
445
446
# File 'lib/google/apis/dataproc_v1/classes.rb', line 444

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



451
452
453
454
455
456
457
458
459
460
# File 'lib/google/apis/dataproc_v1/classes.rb', line 451

def update!(**args)
  @analyzed_workload_name = args[:analyzed_workload_name] if args.key?(:analyzed_workload_name)
  @analyzed_workload_type = args[:analyzed_workload_type] if args.key?(:analyzed_workload_type)
  @analyzed_workload_uuid = args[:analyzed_workload_uuid] if args.key?(:analyzed_workload_uuid)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @done_time = args[:done_time] if args.key?(:done_time)
  @labels = args[:labels] if args.key?(:labels)
  @warnings = args[:warnings] if args.key?(:warnings)
end