Class: Google::Apis::VmmigrationV1::ApplianceVersion
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::VmmigrationV1::ApplianceVersion
 
 
- 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
- 
  
    
      #critical  ⇒ Boolean 
    
    
      (also: #critical?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Determine whether it's critical to upgrade the appliance to this version.
 - 
  
    
      #release_notes_uri  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Link to a page that contains the version release notes.
 - 
  
    
      #uri  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A link for downloading the version.
 - 
  
    
      #version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The appliance version.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ApplianceVersion 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ApplianceVersion.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
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
#critical ⇒ Boolean Also known as: critical?
Determine whether it's critical to upgrade the appliance to this version.
Corresponds to the JSON property critical
      96 97 98  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 96 def critical @critical end  | 
  
#release_notes_uri ⇒ String
Link to a page that contains the version release notes.
Corresponds to the JSON property releaseNotesUri
      102 103 104  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 102 def release_notes_uri @release_notes_uri end  | 
  
#uri ⇒ String
A link for downloading the version.
Corresponds to the JSON property uri
      107 108 109  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 107 def uri @uri end  | 
  
#version ⇒ String
The appliance version.
Corresponds to the JSON property version
      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  |