Class: Google::Apis::ComputeV1::FutureResourcesSpecTargetResources

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/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.



15806
15807
15808
# File 'lib/google/apis/compute_v1/classes.rb', line 15806

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

Instance Attribute Details

#aggregate_resourcesGoogle::Apis::ComputeV1::FutureResourcesSpecAggregateResources

Corresponds to the JSON property aggregateResources



15799
15800
15801
# File 'lib/google/apis/compute_v1/classes.rb', line 15799

def aggregate_resources
  @aggregate_resources
end

#specific_sku_resourcesGoogle::Apis::ComputeV1::FutureResourcesSpecSpecificSkuResources

Corresponds to the JSON property specificSkuResources



15804
15805
15806
# File 'lib/google/apis/compute_v1/classes.rb', line 15804

def specific_sku_resources
  @specific_sku_resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15811
15812
15813
15814
# File 'lib/google/apis/compute_v1/classes.rb', line 15811

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