Class: Google::Apis::ComputeBeta::RemoveTargetPoolsInstanceRequest

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) ⇒ RemoveTargetPoolsInstanceRequest

Returns a new instance of RemoveTargetPoolsInstanceRequest.



42468
42469
42470
# File 'lib/google/apis/compute_beta/classes.rb', line 42468

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

Instance Attribute Details

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

URLs of the instances to be removed from target pool. Corresponds to the JSON property instances



42466
42467
42468
# File 'lib/google/apis/compute_beta/classes.rb', line 42466

def instances
  @instances
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42473
42474
42475
# File 'lib/google/apis/compute_beta/classes.rb', line 42473

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