Class: Google::Apis::ComputeV1::MachineType::ScratchDisk
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComputeV1::MachineType::ScratchDisk
 
- Defined in:
- generated/google/apis/compute_v1/classes.rb,
 generated/google/apis/compute_v1/representations.rb,
 generated/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #disk_gb  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Size of the scratch disk, defined in GB. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ScratchDisk 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ScratchDisk. 
- 
  
    
      #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) ⇒ ScratchDisk
Returns a new instance of ScratchDisk
| 10514 10515 10516 | # File 'generated/google/apis/compute_v1/classes.rb', line 10514 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#disk_gb ⇒ Fixnum
Size of the scratch disk, defined in GB.
Corresponds to the JSON property diskGb
| 10512 10513 10514 | # File 'generated/google/apis/compute_v1/classes.rb', line 10512 def disk_gb @disk_gb end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 10519 10520 10521 | # File 'generated/google/apis/compute_v1/classes.rb', line 10519 def update!(**args) @disk_gb = args[:disk_gb] if args.key?(:disk_gb) end |