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.



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

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)


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

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)


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

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)


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

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)


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

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


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

def description
  @description
end

#done_timeString

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

Returns:

  • (String)


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

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


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

def labels
  @labels
end

#warningsArray<String>

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

Returns:

  • (Array<String>)


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

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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