Compute V1 Client - Class NatIpInfo (1.13.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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNatIpInfoMappings

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

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\NatIpInfoNatIpInfoMapping>
Returns
TypeDescription
$this

getNatName

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

Returns
TypeDescription
string

hasNatName

clearNatName

setNatName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this