Class: Google::Apis::MigrationcenterV1::GuestInstalledApplication

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb

Overview

Guest installed application information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GuestInstalledApplication

Returns a new instance of GuestInstalledApplication.



1844
1845
1846
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1844

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

Instance Attribute Details

#application_nameString

Installed application name. Corresponds to the JSON property applicationName

Returns:

  • (String)


1817
1818
1819
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1817

def application_name
  @application_name
end

#install_timeString

The time when the application was installed. Corresponds to the JSON property installTime

Returns:

  • (String)


1822
1823
1824
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1822

def install_time
  @install_time
end

#licensesArray<String>

License strings associated with the installed application. Corresponds to the JSON property licenses

Returns:

  • (Array<String>)


1827
1828
1829
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1827

def licenses
  @licenses
end

#pathString

Source path. Corresponds to the JSON property path

Returns:

  • (String)


1832
1833
1834
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1832

def path
  @path
end

#vendorString

Installed application vendor. Corresponds to the JSON property vendor

Returns:

  • (String)


1837
1838
1839
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1837

def vendor
  @vendor
end

#versionString

Installed application version. Corresponds to the JSON property version

Returns:

  • (String)


1842
1843
1844
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1842

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1849
1850
1851
1852
1853
1854
1855
1856
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1849

def update!(**args)
  @application_name = args[:application_name] if args.key?(:application_name)
  @install_time = args[:install_time] if args.key?(:install_time)
  @licenses = args[:licenses] if args.key?(:licenses)
  @path = args[:path] if args.key?(:path)
  @vendor = args[:vendor] if args.key?(:vendor)
  @version = args[:version] if args.key?(:version)
end