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.



2771
2772
2773
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2771

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>)


2744
2745
2746
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2744

def licenses
  @licenses
end

#nameString

Installed application name. Corresponds to the JSON property name

Returns:

  • (String)


2749
2750
2751
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2749

def name
  @name
end

#pathString

Source path. Corresponds to the JSON property path

Returns:

  • (String)


2754
2755
2756
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2754

def path
  @path
end

#timeString

Date application was installed. Corresponds to the JSON property time

Returns:

  • (String)


2759
2760
2761
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2759

def time
  @time
end

#vendorString

Installed application vendor. Corresponds to the JSON property vendor

Returns:

  • (String)


2764
2765
2766
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2764

def vendor
  @vendor
end

#versionString

Installed application version. Corresponds to the JSON property version

Returns:

  • (String)


2769
2770
2771
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2769

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2776
2777
2778
2779
2780
2781
2782
2783
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2776

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