Class: Google::Apis::VmmigrationV1::ApplianceVersion

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/vmmigration_v1/classes.rb,
lib/google/apis/vmmigration_v1/representations.rb,
lib/google/apis/vmmigration_v1/representations.rb

Overview

Describes an appliance version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApplianceVersion

Returns a new instance of ApplianceVersion.



114
115
116
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 114

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

Instance Attribute Details

#criticalBoolean Also known as: critical?

Determine whether it's critical to upgrade the appliance to this version. Corresponds to the JSON property critical

Returns:

  • (Boolean)


96
97
98
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 96

def critical
  @critical
end

#release_notes_uriString

Link to a page that contains the version release notes. Corresponds to the JSON property releaseNotesUri

Returns:

  • (String)


102
103
104
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 102

def release_notes_uri
  @release_notes_uri
end

#uriString

A link for downloading the version. Corresponds to the JSON property uri

Returns:

  • (String)


107
108
109
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 107

def uri
  @uri
end

#versionString

The appliance version. Corresponds to the JSON property version

Returns:

  • (String)


112
113
114
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 112

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



119
120
121
122
123
124
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 119

def update!(**args)
  @critical = args[:critical] if args.key?(:critical)
  @release_notes_uri = args[:release_notes_uri] if args.key?(:release_notes_uri)
  @uri = args[:uri] if args.key?(:uri)
  @version = args[:version] if args.key?(:version)
end