Class: Google::Apis::GenomicsV1beta2::ExternalId

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ExternalId

Returns a new instance of ExternalId



814
815
816
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 814

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#idString

The id used by the source of this data. Corresponds to the JSON property id

Returns:

  • (String)


807
808
809
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 807

def id
  @id
end

#source_nameString

The name of the source of this data. Corresponds to the JSON property sourceName

Returns:

  • (String)


812
813
814
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 812

def source_name
  @source_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



819
820
821
822
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 819

def update!(**args)
  @id = args[:id] unless args[:id].nil?
  @source_name = args[:source_name] unless args[:source_name].nil?
end