Compute V1 Client - Class RegionInstanceGroupManagersSetTargetPoolsRequest (1.5.0)

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

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

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.

Generated from protobuf field optional string fingerprint = 234678500;

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.

Generated from protobuf field optional string fingerprint = 234678500;

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.

Generated from protobuf field repeated string target_pools = 336072617;

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.

Generated from protobuf field repeated string target_pools = 336072617;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this