Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::TargetPoolsAddInstanceRequest (v2.13.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::TargetPoolsAddInstanceRequest.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#instances

def instances() -> ::Array<::Google::Cloud::Compute::V1::InstanceReference>
Returns
  • (::Array<::Google::Cloud::Compute::V1::InstanceReference>) — 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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name

#instances=

def instances=(value) -> ::Array<::Google::Cloud::Compute::V1::InstanceReference>
Parameter
  • value (::Array<::Google::Cloud::Compute::V1::InstanceReference>) — 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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
Returns
  • (::Array<::Google::Cloud::Compute::V1::InstanceReference>) — 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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name