Class: Google::Apis::DataprocV1::BatchOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::BatchOperationMetadata
- 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
-
#batch ⇒ String
Name of the batch for the operation.
-
#batch_uuid ⇒ String
Batch UUID for the operation.
-
#create_time ⇒ String
The time when the operation was created.
-
#description ⇒ String
Short description of the operation.
-
#done_time ⇒ String
The time when the operation finished.
-
#labels ⇒ Hash<String,String>
Labels associated with the operation.
-
#operation_type ⇒ String
The operation type.
-
#warnings ⇒ Array<String>
Warnings encountered during operation execution.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchOperationMetadata
constructor
A new instance of BatchOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchOperationMetadata
Returns a new instance of BatchOperationMetadata.
1178 1179 1180 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1178 def initialize(**args) update!(**args) end |
Instance Attribute Details
#batch ⇒ String
Name of the batch for the operation.
Corresponds to the JSON property batch
1141 1142 1143 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1141 def batch @batch end |
#batch_uuid ⇒ String
Batch UUID for the operation.
Corresponds to the JSON property batchUuid
1146 1147 1148 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1146 def batch_uuid @batch_uuid end |
#create_time ⇒ String
The time when the operation was created.
Corresponds to the JSON property createTime
1151 1152 1153 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1151 def create_time @create_time end |
#description ⇒ String
Short description of the operation.
Corresponds to the JSON property description
1156 1157 1158 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1156 def description @description end |
#done_time ⇒ String
The time when the operation finished.
Corresponds to the JSON property doneTime
1161 1162 1163 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1161 def done_time @done_time end |
#labels ⇒ Hash<String,String>
Labels associated with the operation.
Corresponds to the JSON property labels
1166 1167 1168 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1166 def labels @labels end |
#operation_type ⇒ String
The operation type.
Corresponds to the JSON property operationType
1171 1172 1173 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1171 def operation_type @operation_type end |
#warnings ⇒ Array<String>
Warnings encountered during operation execution.
Corresponds to the JSON property warnings
1176 1177 1178 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1176 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1183 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 |