class Google::Apis::GenomicsV1::VariantSetMetadata
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.
Attributes
A textual description of this metadata. Corresponds to the JSON property `description` @return [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` @return [String]
Remaining structured metadata key-value pairs. This must be of the form map ( string key mapping to a list of string values). Corresponds to the JSON property `info` @return [Hash<String,Array<Object>>]
The top-level key. Corresponds to the JSON property `key` @return [String]
The number of values that can be included in a field described by this metadata. Corresponds to the JSON property `number` @return [String]
The type of data. Possible types include: Integer, Float, Flag, Character, and String. Corresponds to the JSON property `type` @return [String]
The value field for simple metadata Corresponds to the JSON property `value` @return [String]
Public Class Methods
# File generated/google/apis/genomics_v1/classes.rb, line 2615 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/genomics_v1/classes.rb, line 2620 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) @id = args[:id] if args.key?(:id) @type = args[:type] if args.key?(:type) @number = args[:number] if args.key?(:number) @description = args[:description] if args.key?(:description) @info = args[:info] if args.key?(:info) end