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.



1904
1905
1906
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1904

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

Instance Attribute Details

#licensesArray<String>

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

Returns:

  • (Array<String>)


1877
1878
1879
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1877

def licenses
  @licenses
end

#nameString

Installed application name. Corresponds to the JSON property name

Returns:

  • (String)


1882
1883
1884
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1882

def name
  @name
end

#pathString

Source path. Corresponds to the JSON property path

Returns:

  • (String)


1887
1888
1889
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1887

def path
  @path
end

#timeString

Date application was installed. Corresponds to the JSON property time

Returns:

  • (String)


1892
1893
1894
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1892

def time
  @time
end

#vendorString

Installed application vendor. Corresponds to the JSON property vendor

Returns:

  • (String)


1897
1898
1899
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1897

def vendor
  @vendor
end

#versionString

Installed application version. Corresponds to the JSON property version

Returns:

  • (String)


1902
1903
1904
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1902

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1909
1910
1911
1912
1913
1914
1915
1916
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1909

def update!(**args)
  @licenses = args[:licenses] if args.key?(:licenses)
  @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