Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::NatIpInfoNatIpInfoMapping (v2.6.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::NatIpInfoNatIpInfoMapping.

Contains information of a NAT IP.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#mode

def mode() -> ::String
Returns
  • (::String) — Specifies whether NAT IP is auto or manual. Check the Mode enum for the list of possible values.

#mode=

def mode=(value) -> ::String
Parameter
  • value (::String) — Specifies whether NAT IP is auto or manual. Check the Mode enum for the list of possible values.
Returns
  • (::String) — Specifies whether NAT IP is auto or manual. Check the Mode enum for the list of possible values.

#nat_ip

def nat_ip() -> ::String
Returns
  • (::String) — NAT IP address. For example: 203.0.113.11.

#nat_ip=

def nat_ip=(value) -> ::String
Parameter
  • value (::String) — NAT IP address. For example: 203.0.113.11.
Returns
  • (::String) — NAT IP address. For example: 203.0.113.11.

#usage

def usage() -> ::String
Returns
  • (::String) — Specifies whether NAT IP is currently serving at least one endpoint or not. Check the Usage enum for the list of possible values.

#usage=

def usage=(value) -> ::String
Parameter
  • value (::String) — Specifies whether NAT IP is currently serving at least one endpoint or not. Check the Usage enum for the list of possible values.
Returns
  • (::String) — Specifies whether NAT IP is currently serving at least one endpoint or not. Check the Usage enum for the list of possible values.