Class: Google::Apis::ComputeV1::InstancesSetMachineResourcesRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComputeV1::InstancesSetMachineResourcesRequest
 
- 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
- 
  
    
      #guest_accelerators  ⇒ Array<Google::Apis::ComputeV1::AcceleratorConfig> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A list of the type and count of accelerator cards attached to the instance. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ InstancesSetMachineResourcesRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of InstancesSetMachineResourcesRequest. 
- 
  
    
      #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) ⇒ InstancesSetMachineResourcesRequest
Returns a new instance of InstancesSetMachineResourcesRequest
| 8867 8868 8869 | # File 'generated/google/apis/compute_v1/classes.rb', line 8867 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#guest_accelerators ⇒ Array<Google::Apis::ComputeV1::AcceleratorConfig>
A list of the type and count of accelerator cards attached to the instance.
Corresponds to the JSON property guestAccelerators
| 8865 8866 8867 | # File 'generated/google/apis/compute_v1/classes.rb', line 8865 def guest_accelerators @guest_accelerators end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 8872 8873 8874 | # File 'generated/google/apis/compute_v1/classes.rb', line 8872 def update!(**args) @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators) end |