Class: Google::Apis::ComputeAlpha::StatefulPolicyPreservedDisk
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComputeAlpha::StatefulPolicyPreservedDisk
 
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
 generated/google/apis/compute_alpha/representations.rb,
 generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #device_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Device name of the disk to be preserved Corresponds to the JSON property deviceName.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ StatefulPolicyPreservedDisk 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of StatefulPolicyPreservedDisk. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ StatefulPolicyPreservedDisk
Returns a new instance of StatefulPolicyPreservedDisk
| 23339 23340 23341 | # File 'generated/google/apis/compute_alpha/classes.rb', line 23339 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#device_name ⇒ String
Device name of the disk to be preserved
Corresponds to the JSON property deviceName
| 23337 23338 23339 | # File 'generated/google/apis/compute_alpha/classes.rb', line 23337 def device_name @device_name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 23344 23345 23346 | # File 'generated/google/apis/compute_alpha/classes.rb', line 23344 def update!(**args) @device_name = args[:device_name] if args.key?(:device_name) end |