Reference documentation and code samples for the Compute V1 Client class InstanceGroupsSetNamedPortsRequest.
Generated from protobuf message google.cloud.compute.v1.InstanceGroupsSetNamedPortsRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ fingerprint |
string
The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error 412 conditionNotMet. |
↳ named_ports |
array<Google\Cloud\Compute\V1\NamedPort>
The list of named ports to set for this instance group. |
getFingerprint
The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error 412 conditionNotMet.
Generated from protobuf field optional string fingerprint = 234678500;
Returns | |
---|---|
Type | Description |
string |
hasFingerprint
clearFingerprint
setFingerprint
The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error 412 conditionNotMet.
Generated from protobuf field optional string fingerprint = 234678500;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getNamedPorts
The list of named ports to set for this instance group.
Generated from protobuf field repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setNamedPorts
The list of named ports to set for this instance group.
Generated from protobuf field repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Compute\V1\NamedPort>
|
Returns | |
---|---|
Type | Description |
$this |