Compute V1 Client - Class RegionInstanceGroupsSetNamedPortsRequest (1.19.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

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.

↳ 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.

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.

Parameter
Name Description
var string
Returns
Type Description
$this

getNamedPorts

The list of named ports to set for this instance group.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setNamedPorts

The list of named ports to set for this instance group.

Parameter
Name Description
var array<Google\Cloud\Compute\V1\NamedPort>
Returns
Type Description
$this