Compute V1 Client - Class RegionInstanceGroupManagersSetTargetPoolsRequest (1.11.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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$this