class Google::Apis::ComputeV1::AddTargetPoolsInstanceRequest

Attributes

instances[RW]

A full or partial URL to an instance to add to this target pool. This can be a full or partial URL. For example, the following are valid URLs:

instances/instance-name

  • projects/project-id/zones/zone/instances/instance-name

  • zones/zone/instances/instance-name

Corresponds to the JSON property `instances` @return [Array<Google::Apis::ComputeV1::InstanceReference>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/compute_v1/classes.rb, line 7885
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/compute_v1/classes.rb, line 7890
def update!(**args)
  @instances = args[:instances] if args.key?(:instances)
end