Class: Google::Apis::ComputeBeta::RegionInstanceGroupManagersAdoptInstancesRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RegionInstanceGroupManagersAdoptInstancesRequest

Returns a new instance of RegionInstanceGroupManagersAdoptInstancesRequest.



46416
46417
46418
# File 'lib/google/apis/compute_beta/classes.rb', line 46416

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

Instance Attribute Details

#instancesArray<Google::Apis::ComputeBeta::PerInstanceConfig>

The list of per-instance configs specifying instances to adopt. Corresponds to the JSON property instances



46414
46415
46416
# File 'lib/google/apis/compute_beta/classes.rb', line 46414

def instances
  @instances
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



46421
46422
46423
# File 'lib/google/apis/compute_beta/classes.rb', line 46421

def update!(**args)
  @instances = args[:instances] if args.key?(:instances)
end