Class: Google::Apis::VmmigrationV1::MachineImageParametersOverrides
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::VmmigrationV1::MachineImageParametersOverrides
 
 
- 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
Parameters overriding decisions based on the source machine image configurations.
Instance Attribute Summary collapse
- 
  
    
      #machine_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ MachineImageParametersOverrides 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of MachineImageParametersOverrides.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ MachineImageParametersOverrides
Returns a new instance of MachineImageParametersOverrides.
      2988 2989 2990  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 2988 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#machine_type ⇒ String
Optional. The machine type to create the MachineImage with. If empty, the
service will choose a relevant machine type based on the information from the
source image. For more information about machine types, please refer to https:/
/cloud.google.com/compute/docs/machine-resource.
Corresponds to the JSON property machineType
      2986 2987 2988  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 2986 def machine_type @machine_type end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2993 2994 2995  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 2993 def update!(**args) @machine_type = args[:machine_type] if args.key?(:machine_type) end  |