Class: Google::Apis::GenomicsV1::VariantSetMetadata
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::GenomicsV1::VariantSetMetadata
 
 
- 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
Metadata describes a single piece of variant call metadata. These data include a top level key and either a single value string (value) or a list of key-value pairs (info.) Value and info are mutually exclusive.
Instance Attribute Summary collapse
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A textual description of this metadata.
 - 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
User-provided ID field, not enforced by this API.
 - 
  
    
      #info  ⇒ Hash<String,Array<Object>> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Remaining structured metadata key-value pairs.
 - 
  
    
      #key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The top-level key.
 - 
  
    
      #number  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The number of values that can be included in a field described by this metadata.
 - 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The type of data.
 - 
  
    
      #value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The value field for simple metadata Corresponds to the JSON property
value. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VariantSetMetadata 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of VariantSetMetadata.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VariantSetMetadata
Returns a new instance of VariantSetMetadata
      3786 3787 3788  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 3786 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#description ⇒ String
A textual description of this metadata.
Corresponds to the JSON property description
      3749 3750 3751  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 3749 def description @description end  | 
  
#id ⇒ String
User-provided ID field, not enforced by this API.
Two or more pieces of structured metadata with identical
id and key fields are considered equivalent.
Corresponds to the JSON property id
      3756 3757 3758  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 3756 def id @id end  | 
  
#info ⇒ Hash<String,Array<Object>>
Remaining structured metadata key-value pairs. This must be of the form
mapinfo
      3762 3763 3764  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 3762 def info @info end  | 
  
#key ⇒ String
The top-level key.
Corresponds to the JSON property key
      3767 3768 3769  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 3767 def key @key end  | 
  
#number ⇒ String
The number of values that can be included in a field described by this
metadata.
Corresponds to the JSON property number
      3773 3774 3775  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 3773 def number @number end  | 
  
#type ⇒ String
The type of data. Possible types include: Integer, Float,
Flag, Character, and String.
Corresponds to the JSON property type
      3779 3780 3781  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 3779 def type @type end  | 
  
#value ⇒ String
The value field for simple metadata
Corresponds to the JSON property value
      3784 3785 3786  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 3784 def value @value end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3791 3792 3793 3794 3795 3796 3797 3798 3799  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 3791 def update!(**args) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) @info = args[:info] if args.key?(:info) @key = args[:key] if args.key?(:key) @number = args[:number] if args.key?(:number) @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) end  |