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. For more genomics resource definitions, see Fundamentals of Google Genomics

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.


845
846
847
# File 'generated/google/apis/genomics_v1/classes.rb', line 845

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)

843
844
845
# File 'generated/google/apis/genomics_v1/classes.rb', line 843

def create_time
  @create_time
end

#idString

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

Returns:

  • (String)

828
829
830
# File 'generated/google/apis/genomics_v1/classes.rb', line 828

def id
  @id
end

#nameString

The dataset name. Corresponds to the JSON property name

Returns:

  • (String)

838
839
840
# File 'generated/google/apis/genomics_v1/classes.rb', line 838

def name
  @name
end

#project_idString

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

Returns:

  • (String)

833
834
835
# File 'generated/google/apis/genomics_v1/classes.rb', line 833

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


850
851
852
853
854
855
# File 'generated/google/apis/genomics_v1/classes.rb', line 850

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