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

description[RW]

A textual description of this metadata. Corresponds to the JSON property `description` @return [String]

id[RW]

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]

info[RW]

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>>]

key[RW]

The top-level key. Corresponds to the JSON property `key` @return [String]

number[RW]

The number of values that can be included in a field described by this metadata. Corresponds to the JSON property `number` @return [String]

type[RW]

The type of data. Possible types include: Integer, Float, Flag, Character, and String. Corresponds to the JSON property `type` @return [String]

value[RW]

The value field for simple metadata Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/genomics_v1/classes.rb, line 2615
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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