Class: Google::Apis::DataprocV1::BatchOperationMetadata

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 Batch operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchOperationMetadata

Returns a new instance of BatchOperationMetadata.



1131
1132
1133
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1131

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

Instance Attribute Details

#batchString

Name of the batch for the operation. Corresponds to the JSON property batch

Returns:

  • (String)


1094
1095
1096
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1094

def batch
  @batch
end

#batch_uuidString

Batch UUID for the operation. Corresponds to the JSON property batchUuid

Returns:

  • (String)


1099
1100
1101
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1099

def batch_uuid
  @batch_uuid
end

#create_timeString

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

Returns:

  • (String)


1104
1105
1106
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1104

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


1109
1110
1111
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1109

def description
  @description
end

#done_timeString

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

Returns:

  • (String)


1114
1115
1116
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1114

def done_time
  @done_time
end

#labelsHash<String,String>

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

Returns:

  • (Hash<String,String>)


1119
1120
1121
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1119

def labels
  @labels
end

#operation_typeString

The operation type. Corresponds to the JSON property operationType

Returns:

  • (String)


1124
1125
1126
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1124

def operation_type
  @operation_type
end

#warningsArray<String>

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

Returns:

  • (Array<String>)


1129
1130
1131
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1129

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1136

def update!(**args)
  @batch = args[:batch] if args.key?(:batch)
  @batch_uuid = args[:batch_uuid] if args.key?(:batch_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)
  @operation_type = args[:operation_type] if args.key?(:operation_type)
  @warnings = args[:warnings] if args.key?(:warnings)
end