Class: Google::Apis::LifesciencesV2beta::Metadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/lifesciences_v2beta/classes.rb,
generated/google/apis/lifesciences_v2beta/representations.rb,
generated/google/apis/lifesciences_v2beta/representations.rb

Overview

Carries information about the pipeline execution that is returned in the long running operation's metadata field.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Metadata

Returns a new instance of Metadata.



720
721
722
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 720

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

Instance Attribute Details

#create_timeString

The time at which the operation was created by the API. Corresponds to the JSON property createTime

Returns:

  • (String)


692
693
694
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 692

def create_time
  @create_time
end

#end_timeString

The time at which execution was completed and resources were cleaned up. Corresponds to the JSON property endTime

Returns:

  • (String)


697
698
699
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 697

def end_time
  @end_time
end

#eventsArray<Google::Apis::LifesciencesV2beta::Event>

The list of events that have happened so far during the execution of this operation. Corresponds to the JSON property events



703
704
705
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 703

def events
  @events
end

#labelsHash<String,String>

The user-defined labels associated with this operation. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


708
709
710
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 708

def labels
  @labels
end

#pipelineGoogle::Apis::LifesciencesV2beta::Pipeline

Specifies a series of actions to execute, expressed as Docker containers. Corresponds to the JSON property pipeline



713
714
715
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 713

def pipeline
  @pipeline
end

#start_timeString

The first time at which resources were allocated to execute the pipeline. Corresponds to the JSON property startTime

Returns:

  • (String)


718
719
720
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 718

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



725
726
727
728
729
730
731
732
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 725

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @end_time = args[:end_time] if args.key?(:end_time)
  @events = args[:events] if args.key?(:events)
  @labels = args[:labels] if args.key?(:labels)
  @pipeline = args[:pipeline] if args.key?(:pipeline)
  @start_time = args[:start_time] if args.key?(:start_time)
end