Compute V1 Client - Class InstanceGroupManagersSetTargetPoolsRequest (1.17.0)

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
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string[]
Returns
Type Description
$this