Class: Google::Apis::ComputeBeta::FutureResourcesSpecTargetResources

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Overview

Specification of reserved resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FutureResourcesSpecTargetResources

Returns a new instance of FutureResourcesSpecTargetResources.



16819
16820
16821
# File 'lib/google/apis/compute_beta/classes.rb', line 16819

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#aggregate_resourcesGoogle::Apis::ComputeBeta::FutureResourcesSpecAggregateResources

Corresponds to the JSON property aggregateResources



16812
16813
16814
# File 'lib/google/apis/compute_beta/classes.rb', line 16812

def aggregate_resources
  @aggregate_resources
end

#specific_sku_resourcesGoogle::Apis::ComputeBeta::FutureResourcesSpecSpecificSkuResources

Corresponds to the JSON property specificSkuResources



16817
16818
16819
# File 'lib/google/apis/compute_beta/classes.rb', line 16817

def specific_sku_resources
  @specific_sku_resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16824
16825
16826
16827
# File 'lib/google/apis/compute_beta/classes.rb', line 16824

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