Compute V1 Client - Class InstanceGroupManagerAllInstancesConfig (1.16.2)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ properties Google\Cloud\Compute\V1\InstancePropertiesPatch

Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.

getProperties

Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.

Returns
Type Description
Google\Cloud\Compute\V1\InstancePropertiesPatch|null

hasProperties

clearProperties

setProperties

Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.

Parameter
Name Description
var Google\Cloud\Compute\V1\InstancePropertiesPatch
Returns
Type Description
$this