Compute V1 Client - Class NatIpInfo (1.20.0)

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

Contains NAT IP information of a NAT config (i.e. usage status, mode).

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ nat_ip_info_mappings array<Google\Cloud\Compute\V1\NatIpInfoNatIpInfoMapping>

A list of all NAT IPs assigned to this NAT config.

↳ nat_name string

Name of the NAT config which the NAT IP belongs to.

getNatIpInfoMappings

A list of all NAT IPs assigned to this NAT config.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setNatIpInfoMappings

A list of all NAT IPs assigned to this NAT config.

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

getNatName

Name of the NAT config which the NAT IP belongs to.

Returns
Type Description
string

hasNatName

clearNatName

setNatName

Name of the NAT config which the NAT IP belongs to.

Parameter
Name Description
var string
Returns
Type Description
$this