Class: Google::Apis::GenomicsV1::Dataset

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

Overview

A Dataset is a collection of genomic data.

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) ⇒ Dataset

Returns a new instance of Dataset



639
640
641
# File 'generated/google/apis/genomics_v1/classes.rb', line 639

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

Instance Attribute Details

#create_timeString

The time this dataset was created, in seconds from the epoch. Corresponds to the JSON property createTime

Returns:

  • (String)


622
623
624
# File 'generated/google/apis/genomics_v1/classes.rb', line 622

def create_time
  @create_time
end

#idString

The server-generated dataset ID, unique across all datasets. Corresponds to the JSON property id

Returns:

  • (String)


627
628
629
# File 'generated/google/apis/genomics_v1/classes.rb', line 627

def id
  @id
end

#nameString

The dataset name. Corresponds to the JSON property name

Returns:

  • (String)


632
633
634
# File 'generated/google/apis/genomics_v1/classes.rb', line 632

def name
  @name
end

#project_idString

The Google Cloud project ID that this dataset belongs to. Corresponds to the JSON property projectId

Returns:

  • (String)


637
638
639
# File 'generated/google/apis/genomics_v1/classes.rb', line 637

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



644
645
646
647
648
649
# File 'generated/google/apis/genomics_v1/classes.rb', line 644

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @id = args[:id] if args.key?(:id)
  @name = args[:name] if args.key?(:name)
  @project_id = args[:project_id] if args.key?(:project_id)
end