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.



133
134
135
# File 'lib/google/apis/dataproc_v1/classes.rb', line 133

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)


95
96
97
# File 'lib/google/apis/dataproc_v1/classes.rb', line 95

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)


100
101
102
# File 'lib/google/apis/dataproc_v1/classes.rb', line 100

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)


106
107
108
# File 'lib/google/apis/dataproc_v1/classes.rb', line 106

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)


111
112
113
# File 'lib/google/apis/dataproc_v1/classes.rb', line 111

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


116
117
118
# File 'lib/google/apis/dataproc_v1/classes.rb', line 116

def description
  @description
end

#done_timeString

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

Returns:

  • (String)


121
122
123
# File 'lib/google/apis/dataproc_v1/classes.rb', line 121

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


126
127
128
# File 'lib/google/apis/dataproc_v1/classes.rb', line 126

def labels
  @labels
end

#warningsArray<String>

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

Returns:

  • (Array<String>)


131
132
133
# File 'lib/google/apis/dataproc_v1/classes.rb', line 131

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



138
139
140
141
142
143
144
145
146
147
# File 'lib/google/apis/dataproc_v1/classes.rb', line 138

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