Reference documentation and code samples for the Compute V1 Client class InstanceGroupManagersDeleteInstancesRequest.
Generated from protobuf message google.cloud.compute.v1.InstanceGroupManagersDeleteInstancesRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ instances |
array
The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. |
↳ skip_instances_on_validation_error |
bool
Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to |
getInstances
The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
Generated from protobuf field repeated string instances = 29097598;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setInstances
The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
Generated from protobuf field repeated string instances = 29097598;
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getSkipInstancesOnValidationError
Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to false
and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region.
Generated from protobuf field optional bool skip_instances_on_validation_error = 40631073;
Returns | |
---|---|
Type | Description |
bool |
hasSkipInstancesOnValidationError
clearSkipInstancesOnValidationError
setSkipInstancesOnValidationError
Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to false
and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region.
Generated from protobuf field optional bool skip_instances_on_validation_error = 40631073;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |