Class: Google::Apis::ComputeAlpha::FutureResourcesSpecTargetResources
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::FutureResourcesSpecTargetResources
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
Specification of reserved resources.
Instance Attribute Summary collapse
-
#aggregate_resources ⇒ Google::Apis::ComputeAlpha::FutureResourcesSpecAggregateResources
Corresponds to the JSON property
aggregateResources. -
#specific_sku_resources ⇒ Google::Apis::ComputeAlpha::FutureResourcesSpecSpecificSkuResources
Corresponds to the JSON property
specificSkuResources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FutureResourcesSpecTargetResources
constructor
A new instance of FutureResourcesSpecTargetResources.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FutureResourcesSpecTargetResources
Returns a new instance of FutureResourcesSpecTargetResources.
18922 18923 18924 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 18922 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aggregate_resources ⇒ Google::Apis::ComputeAlpha::FutureResourcesSpecAggregateResources
Corresponds to the JSON property aggregateResources
18915 18916 18917 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 18915 def aggregate_resources @aggregate_resources end |
#specific_sku_resources ⇒ Google::Apis::ComputeAlpha::FutureResourcesSpecSpecificSkuResources
Corresponds to the JSON property specificSkuResources
18920 18921 18922 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 18920 def specific_sku_resources @specific_sku_resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18927 18928 18929 18930 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 18927 def update!(**args) @aggregate_resources = args[:aggregate_resources] if args.key?(:aggregate_resources) @specific_sku_resources = args[:specific_sku_resources] if args.key?(:specific_sku_resources) end |