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



815
816
817
# File 'generated/google/apis/genomics_v1/classes.rb', line 815

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)


803
804
805
# File 'generated/google/apis/genomics_v1/classes.rb', line 803

def create_time
  @create_time
end

#idString

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

Returns:

  • (String)


798
799
800
# File 'generated/google/apis/genomics_v1/classes.rb', line 798

def id
  @id
end

#nameString

The dataset name. Corresponds to the JSON property name

Returns:

  • (String)


808
809
810
# File 'generated/google/apis/genomics_v1/classes.rb', line 808

def name
  @name
end

#project_idString

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

Returns:

  • (String)


813
814
815
# File 'generated/google/apis/genomics_v1/classes.rb', line 813

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



820
821
822
823
824
825
# File 'generated/google/apis/genomics_v1/classes.rb', line 820

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