Class: Google::Apis::GenomicsV1beta2::Dataset
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1beta2::Dataset
- 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
-
#create_time ⇒ String
The time this dataset was created, in seconds from the epoch.
-
#id ⇒ String
The Google generated ID of the dataset, immutable.
-
#is_public ⇒ Boolean
(also: #is_public?)
Flag indicating whether or not a dataset is publicly viewable.
-
#name ⇒ String
The dataset name.
-
#project_number ⇒ String
The Google Developers Console project number that this dataset belongs to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Dataset
constructor
A new instance of Dataset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
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_time ⇒ String
The time this dataset was created, in seconds from the epoch.
Corresponds to the JSON property createTime
557 558 559 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 557 def create_time @create_time end |
#id ⇒ String
The Google generated ID of the dataset, immutable.
Corresponds to the JSON property id
562 563 564 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 562 def id @id end |
#is_public ⇒ Boolean 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
568 569 570 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 568 def is_public @is_public end |
#name ⇒ String
The dataset name.
Corresponds to the JSON property name
574 575 576 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 574 def name @name end |
#project_number ⇒ String
The Google Developers Console project number that this dataset belongs to.
Corresponds to the JSON property projectNumber
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 |