app/models/manageiq/providers/google/inventory/parser/cloud_manager.rb
# Operating system for Vm (i.e. instance)
# It's name is taken from parent image's OS
# Note: Not added when parent image not found
#
# @param persister_vm [InventoryObject<ManageIQ::Providers::Google::CloudManager::Vm>]
# @param parent_image_uid [String] UID of vm's template
Operating system for Vm
It's name is taken from parent image's OS
Note: Not added when parent image not found
Operating system for Vm It ' s name is taken from parent image ' s OS Note : Not added when parent image not found
def instance_os(persister_vm, parent_image_uid)
    persister.operating_systems.build(
      :vm_or_template => persister_vm,
      :product_name   => persister.operating_systems.lazy_find(
        persister.miq_templates.lazy_find(parent_image_uid),
        :key => :product_name
      )
    )
  end
def instance_os ( persister_vm , parent_image_uid ) persister . operating_systems . build ( :vm_or_template => persister_vm , :product_name => persister . operating_systems . lazy_find ( persister . miq_templates . lazy_find ( parent_image_uid ) , :key => :product_name ) ) end
Operating system for Vm (i.e.
Operating system for Vm ( i . e .
persister_vm
<not_specific>
parent_image_uid
UID of vm's template
UID of vm ' s template
<not_specific>
None