Class: Google::Apis::MigrationcenterV1alpha1::GuestInstalledApplication
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::GuestInstalledApplication
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
Guest installed application information.
Instance Attribute Summary collapse
-
#name ⇒ String
Installed application name.
-
#path ⇒ String
Source path.
-
#time ⇒ String
Date application was installed.
-
#vendor ⇒ String
Installed application vendor.
-
#version ⇒ String
Installed application version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GuestInstalledApplication
constructor
A new instance of GuestInstalledApplication.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GuestInstalledApplication
Returns a new instance of GuestInstalledApplication.
1833 1834 1835 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1833 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Installed application name.
Corresponds to the JSON property name
1811 1812 1813 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1811 def name @name end |
#path ⇒ String
Source path.
Corresponds to the JSON property path
1816 1817 1818 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1816 def path @path end |
#time ⇒ String
Date application was installed.
Corresponds to the JSON property time
1821 1822 1823 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1821 def time @time end |
#vendor ⇒ String
Installed application vendor.
Corresponds to the JSON property vendor
1826 1827 1828 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1826 def vendor @vendor end |
#version ⇒ String
Installed application version.
Corresponds to the JSON property version
1831 1832 1833 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1831 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1838 1839 1840 1841 1842 1843 1844 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1838 def update!(**args) @name = args[:name] if args.key?(:name) @path = args[:path] if args.key?(:path) @time = args[:time] if args.key?(:time) @vendor = args[:vendor] if args.key?(:vendor) @version = args[:version] if args.key?(:version) end |