Compute V1 Client - Class InstanceGroupManagersSetTargetPoolsRequest (1.9.1)

Reference documentation and code samples for the Compute V1 Client class InstanceGroupManagersSetTargetPoolsRequest.

Generated from protobuf message google.cloud.compute.v1.InstanceGroupManagersSetTargetPoolsRequest

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ fingerprint string

The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.

↳ target_pools array

The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.

getFingerprint

The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.

Returns
TypeDescription
string

hasFingerprint

clearFingerprint

setFingerprint

The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTargetPools

The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTargetPools

The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this