Class: Google::Apis::VmmigrationV1alpha1::ApplianceVersion

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/vmmigration_v1alpha1/classes.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb,
lib/google/apis/vmmigration_v1alpha1/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.



69
70
71
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 69

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)


51
52
53
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 51

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)


57
58
59
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 57

def release_notes_uri
  @release_notes_uri
end

#uriString

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

Returns:

  • (String)


62
63
64
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 62

def uri
  @uri
end

#versionString

The appliance version. Corresponds to the JSON property version

Returns:

  • (String)


67
68
69
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 67

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



74
75
76
77
78
79
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 74

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