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.



3184
3185
3186
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3184

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


3157
3158
3159
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3157

def licenses
  @licenses
end

#nameString

Installed application name. Corresponds to the JSON property name

Returns:

  • (String)


3162
3163
3164
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3162

def name
  @name
end

#pathString

Source path. Corresponds to the JSON property path

Returns:

  • (String)


3167
3168
3169
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3167

def path
  @path
end

#timeString

Date application was installed. Corresponds to the JSON property time

Returns:

  • (String)


3172
3173
3174
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3172

def time
  @time
end

#vendorString

Installed application vendor. Corresponds to the JSON property vendor

Returns:

  • (String)


3177
3178
3179
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3177

def vendor
  @vendor
end

#versionString

Installed application version. Corresponds to the JSON property version

Returns:

  • (String)


3182
3183
3184
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3182

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3189
3190
3191
3192
3193
3194
3195
3196
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3189

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