Class: Google::Apis::BaremetalsolutionV2::RenameInstanceRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::BaremetalsolutionV2::RenameInstanceRequest
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/baremetalsolution_v2/classes.rb,
lib/google/apis/baremetalsolution_v2/representations.rb,
lib/google/apis/baremetalsolution_v2/representations.rb 
Overview
Message requesting rename of a server.
Instance Attribute Summary collapse
- 
  
    
      #new_instance_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ RenameInstanceRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of RenameInstanceRequest.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ RenameInstanceRequest
Returns a new instance of RenameInstanceRequest.
      2016 2017 2018  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2016 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#new_instance_id ⇒ String
Required. The new id of the instance.
Corresponds to the JSON property newInstanceId
      2014 2015 2016  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2014 def new_instance_id @new_instance_id end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2021 2022 2023  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2021 def update!(**args) @new_instance_id = args[:new_instance_id] if args.key?(:new_instance_id) end  |