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.
579 580 581 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 579 def initialize(**args) update!(**args) end |
Instance Attribute Details
#batch ⇒ String
Name of the batch for the operation.
Corresponds to the JSON property batch
542 543 544 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 542 def batch @batch end |
#batch_uuid ⇒ String
Batch UUID for the operation.
Corresponds to the JSON property batchUuid
547 548 549 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 547 def batch_uuid @batch_uuid end |
#create_time ⇒ String
The time when the operation was created.
Corresponds to the JSON property createTime
552 553 554 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 552 def create_time @create_time end |
#description ⇒ String
Short description of the operation.
Corresponds to the JSON property description
557 558 559 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 557 def description @description end |
#done_time ⇒ String
The time when the operation finished.
Corresponds to the JSON property doneTime
562 563 564 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 562 def done_time @done_time end |
#labels ⇒ Hash<String,String>
Labels associated with the operation.
Corresponds to the JSON property labels
567 568 569 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 567 def labels @labels end |
#operation_type ⇒ String
The operation type.
Corresponds to the JSON property operationType
572 573 574 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 572 def operation_type @operation_type end |
#warnings ⇒ Array<String>
Warnings encountered during operation execution.
Corresponds to the JSON property warnings
577 578 579 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 577 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
584 585 586 587 588 589 590 591 592 593 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 584 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 |