Class: Google::Apis::MigrationcenterV1alpha1::GuestInstalledApplication

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GuestInstalledApplication

Returns a new instance of GuestInstalledApplication.



1794
1795
1796
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1794

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

Instance Attribute Details

#nameString

Installed application name. Corresponds to the JSON property name

Returns:

  • (String)


1772
1773
1774
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1772

def name
  @name
end

#pathString

Source path. Corresponds to the JSON property path

Returns:

  • (String)


1777
1778
1779
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1777

def path
  @path
end

#timeString

Date application was installed. Corresponds to the JSON property time

Returns:

  • (String)


1782
1783
1784
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1782

def time
  @time
end

#vendorString

Installed application vendor. Corresponds to the JSON property vendor

Returns:

  • (String)


1787
1788
1789
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1787

def vendor
  @vendor
end

#versionString

Installed application version. Corresponds to the JSON property version

Returns:

  • (String)


1792
1793
1794
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1792

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1799
1800
1801
1802
1803
1804
1805
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1799

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