Class: Google::Apis::DataprocV1::AttachmentOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::AttachmentOperationMetadata
- 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 Attachment operation.
Instance Attribute Summary collapse
-
#attachment ⇒ String
Output only.
-
#attachment_uuid ⇒ String
Output only.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Output only.
-
#done_time ⇒ String
Output only.
-
#labels ⇒ Hash<String,String>
Output only.
-
#operation_type ⇒ String
Output only.
-
#warnings ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AttachmentOperationMetadata
constructor
A new instance of AttachmentOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AttachmentOperationMetadata
Returns a new instance of AttachmentOperationMetadata.
833 834 835 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 833 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attachment ⇒ String
Output only. Name of the attachment for the operation.
Corresponds to the JSON property attachment
796 797 798 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 796 def @attachment end |
#attachment_uuid ⇒ String
Output only. Attachment UUID for the operation.
Corresponds to the JSON property attachmentUuid
801 802 803 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 801 def @attachment_uuid end |
#create_time ⇒ String
Output only. The time when the operation was created.
Corresponds to the JSON property createTime
806 807 808 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 806 def create_time @create_time end |
#description ⇒ String
Output only. Short description of the operation.
Corresponds to the JSON property description
811 812 813 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 811 def description @description end |
#done_time ⇒ String
Output only. The time when the operation finished.
Corresponds to the JSON property doneTime
816 817 818 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 816 def done_time @done_time end |
#labels ⇒ Hash<String,String>
Output only. Labels associated with the operation.
Corresponds to the JSON property labels
821 822 823 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 821 def labels @labels end |
#operation_type ⇒ String
Output only. The operation type.
Corresponds to the JSON property operationType
826 827 828 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 826 def operation_type @operation_type end |
#warnings ⇒ Array<String>
Output only. Warnings encountered during operation execution.
Corresponds to the JSON property warnings
831 832 833 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 831 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
838 839 840 841 842 843 844 845 846 847 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 838 def update!(**args) @attachment = args[:attachment] if args.key?(:attachment) @attachment_uuid = args[:attachment_uuid] if args.key?(:attachment_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 |