Compute V1 Client - Class NatIpInfo (2.10.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< NatIpInfoNatIpInfoMapping >

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

↳ nat_name
string

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

getNatIpInfoMappings

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

setNatIpInfoMappings

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

Parameter
Name
Description
Returns
Type
Description
$this

getNatName

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

Returns
Type
Description
string

hasNatName

clearNatName

setNatName

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: