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.
1698 1699 1700 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1698 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Installed application name.
Corresponds to the JSON property name
1676 1677 1678 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1676 def name @name end |
#path ⇒ String
Source path.
Corresponds to the JSON property path
1681 1682 1683 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1681 def path @path end |
#time ⇒ String
Date application was installed.
Corresponds to the JSON property time
1686 1687 1688 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1686 def time @time end |
#vendor ⇒ String
Installed application vendor.
Corresponds to the JSON property vendor
1691 1692 1693 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1691 def vendor @vendor end |
#version ⇒ String
Installed application version.
Corresponds to the JSON property version
1696 1697 1698 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1696 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1703 1704 1705 1706 1707 1708 1709 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1703 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 |