Compute V1 Client - Class RegionInstanceGroupManagersSetTargetPoolsRequest (1.18.1)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ fingerprint string

Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.

↳ target_pools array

The URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.

getFingerprint

Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.

Returns
Type Description
string

hasFingerprint

clearFingerprint

setFingerprint

Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.

Parameter
Name Description
var string
Returns
Type Description
$this

getTargetPools

The URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTargetPools

The URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.

Parameter
Name Description
var string[]
Returns
Type Description
$this