Class: Google::Apis::GenomicsV1beta2::Dataset

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

Overview

A Dataset is a collection of genomic data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Dataset

Returns a new instance of Dataset



581
582
583
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 581

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)


557
558
559
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 557

def create_time
  @create_time
end

#idString

The Google generated ID of the dataset, immutable. Corresponds to the JSON property id

Returns:

  • (String)


562
563
564
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 562

def id
  @id
end

#is_publicBoolean Also known as: is_public?

Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project. Corresponds to the JSON property isPublic

Returns:

  • (Boolean)


568
569
570
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 568

def is_public
  @is_public
end

#nameString

The dataset name. Corresponds to the JSON property name

Returns:

  • (String)


574
575
576
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 574

def name
  @name
end

#project_numberString

The Google Developers Console project number that this dataset belongs to. Corresponds to the JSON property projectNumber

Returns:

  • (String)


579
580
581
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 579

def project_number
  @project_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



586
587
588
589
590
591
592
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 586

def update!(**args)
  @create_time = args[:create_time] unless args[:create_time].nil?
  @id = args[:id] unless args[:id].nil?
  @is_public = args[:is_public] unless args[:is_public].nil?
  @name = args[:name] unless args[:name].nil?
  @project_number = args[:project_number] unless args[:project_number].nil?
end