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.



2958
2959
2960
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2958

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


2931
2932
2933
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2931

def licenses
  @licenses
end

#nameString

Installed application name. Corresponds to the JSON property name

Returns:

  • (String)


2936
2937
2938
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2936

def name
  @name
end

#pathString

Source path. Corresponds to the JSON property path

Returns:

  • (String)


2941
2942
2943
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2941

def path
  @path
end

#timeString

Date application was installed. Corresponds to the JSON property time

Returns:

  • (String)


2946
2947
2948
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2946

def time
  @time
end

#vendorString

Installed application vendor. Corresponds to the JSON property vendor

Returns:

  • (String)


2951
2952
2953
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2951

def vendor
  @vendor
end

#versionString

Installed application version. Corresponds to the JSON property version

Returns:

  • (String)


2956
2957
2958
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2956

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2963
2964
2965
2966
2967
2968
2969
2970
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2963

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