Class: Google::Apis::GenomicsV1::Dataset
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::Dataset
- 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
-
#create_time ⇒ String
The time this dataset was created, in seconds from the epoch.
-
#id ⇒ String
The server-generated dataset ID, unique across all datasets.
-
#name ⇒ String
The dataset name.
-
#project_id ⇒ String
The Google Cloud project ID 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::JsonObjectSupport
Methods included from Core::Hashable
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_time ⇒ String
The time this dataset was created, in seconds from the epoch.
Corresponds to the JSON property createTime
622 623 624 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 622 def create_time @create_time end |
#id ⇒ String
The server-generated dataset ID, unique across all datasets.
Corresponds to the JSON property id
627 628 629 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 627 def id @id end |
#name ⇒ String
The dataset name.
Corresponds to the JSON property name
632 633 634 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 632 def name @name end |
#project_id ⇒ String
The Google Cloud project ID that this dataset belongs to.
Corresponds to the JSON property projectId
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 |