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.



141
142
143
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 141

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)


123
124
125
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 123

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)


129
130
131
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 129

def release_notes_uri
  @release_notes_uri
end

#uriString

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

Returns:

  • (String)


134
135
136
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 134

def uri
  @uri
end

#versionString

The appliance version. Corresponds to the JSON property version

Returns:

  • (String)


139
140
141
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 139

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



146
147
148
149
150
151
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 146

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