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.



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

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)


89
90
91
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 89

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)


95
96
97
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 95

def release_notes_uri
  @release_notes_uri
end

#uriString

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

Returns:

  • (String)


100
101
102
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 100

def uri
  @uri
end

#versionString

The appliance version. Corresponds to the JSON property version

Returns:

  • (String)


105
106
107
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 105

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



112
113
114
115
116
117
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 112

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