Class: Google::Apis::DataprocV1::OperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dataproc_v1/classes.rb,
generated/google/apis/dataproc_v1/representations.rb,
generated/google/apis/dataproc_v1/representations.rb

Overview

Metadata describing the operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OperationMetadata

Returns a new instance of OperationMetadata



1298
1299
1300
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1298

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

Instance Attribute Details

#cluster_nameString

Name of the cluster for the operation. Corresponds to the JSON property clusterName

Returns:

  • (String)


1261
1262
1263
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1261

def cluster_name
  @cluster_name
end

#cluster_uuidString

Cluster UUId for the operation. Corresponds to the JSON property clusterUuid

Returns:

  • (String)


1266
1267
1268
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1266

def cluster_uuid
  @cluster_uuid
end

#descriptionString

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

Returns:

  • (String)


1241
1242
1243
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1241

def description
  @description
end

#detailsString

A message containing any operation metadata details. Corresponds to the JSON property details

Returns:

  • (String)


1251
1252
1253
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1251

def details
  @details
end

#end_timeString

The time that the operation completed. Corresponds to the JSON property endTime

Returns:

  • (String)


1276
1277
1278
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1276

def end_time
  @end_time
end

#inner_stateString

A message containing the detailed operation state. Corresponds to the JSON property innerState

Returns:

  • (String)


1271
1272
1273
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1271

def inner_state
  @inner_state
end

#insert_timeString

The time that the operation was requested. Corresponds to the JSON property insertTime

Returns:

  • (String)


1291
1292
1293
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1291

def insert_time
  @insert_time
end

#operation_typeString

Output-only The operation type. Corresponds to the JSON property operationType

Returns:

  • (String)


1236
1237
1238
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1236

def operation_type
  @operation_type
end

#start_timeString

The time that the operation was started by the server. Corresponds to the JSON property startTime

Returns:

  • (String)


1281
1282
1283
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1281

def start_time
  @start_time
end

#stateString

A message containing the operation state. Corresponds to the JSON property state

Returns:

  • (String)


1256
1257
1258
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1256

def state
  @state
end

#statusGoogle::Apis::DataprocV1::OperationStatus

The status of the operation. Corresponds to the JSON property status



1246
1247
1248
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1246

def status
  @status
end

#status_historyArray<Google::Apis::DataprocV1::OperationStatus>

Output-only Previous operation status. Corresponds to the JSON property statusHistory



1296
1297
1298
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1296

def status_history
  @status_history
end

#warningsArray<String>

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

Returns:

  • (Array<String>)


1286
1287
1288
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1286

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1303

def update!(**args)
  @operation_type = args[:operation_type] if args.key?(:operation_type)
  @description = args[:description] if args.key?(:description)
  @status = args[:status] if args.key?(:status)
  @details = args[:details] if args.key?(:details)
  @state = args[:state] if args.key?(:state)
  @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
  @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
  @inner_state = args[:inner_state] if args.key?(:inner_state)
  @end_time = args[:end_time] if args.key?(:end_time)
  @start_time = args[:start_time] if args.key?(:start_time)
  @warnings = args[:warnings] if args.key?(:warnings)
  @insert_time = args[:insert_time] if args.key?(:insert_time)
  @status_history = args[:status_history] if args.key?(:status_history)
end