Class: Google::Apis::DataprocV1::AttachmentOperationMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#attachmentString

Output only. Name of the attachment for the operation. Corresponds to the JSON property attachment

Returns:

  • (String)


796
797
798
# File 'lib/google/apis/dataproc_v1/classes.rb', line 796

def attachment
  @attachment
end

#attachment_uuidString

Output only. Attachment UUID for the operation. Corresponds to the JSON property attachmentUuid

Returns:

  • (String)


801
802
803
# File 'lib/google/apis/dataproc_v1/classes.rb', line 801

def attachment_uuid
  @attachment_uuid
end

#create_timeString

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

Returns:

  • (String)


806
807
808
# File 'lib/google/apis/dataproc_v1/classes.rb', line 806

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


811
812
813
# File 'lib/google/apis/dataproc_v1/classes.rb', line 811

def description
  @description
end

#done_timeString

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

Returns:

  • (String)


816
817
818
# File 'lib/google/apis/dataproc_v1/classes.rb', line 816

def done_time
  @done_time
end

#labelsHash<String,String>

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

Returns:

  • (Hash<String,String>)


821
822
823
# File 'lib/google/apis/dataproc_v1/classes.rb', line 821

def labels
  @labels
end

#operation_typeString

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

Returns:

  • (String)


826
827
828
# File 'lib/google/apis/dataproc_v1/classes.rb', line 826

def operation_type
  @operation_type
end

#warningsArray<String>

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

Returns:

  • (Array<String>)


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