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.



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

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)


402
403
404
# File 'lib/google/apis/dataproc_v1/classes.rb', line 402

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)


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

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)


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

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)


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

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


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

def description
  @description
end

#done_timeString

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

Returns:

  • (String)


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

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


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

def labels
  @labels
end

#warningsArray<String>

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

Returns:

  • (Array<String>)


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

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



445
446
447
448
449
450
451
452
453
454
# File 'lib/google/apis/dataproc_v1/classes.rb', line 445

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