Compute V1 Client - Class GetNatIpInfoRouterRequest (1.13.0)

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

A request message for Routers.GetNatIpInfo. See the method description for details.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ nat_name string

Name of the nat service to filter the NAT IP information. If it is omitted, all nats for this router will be returned. Name should conform to RFC1035.

↳ project string

Project ID for this request.

↳ region string

Name of the region for this request.

↳ router string

Name of the Router resource to query for Nat IP information. The name should conform to RFC1035.

getNatName

Name of the nat service to filter the NAT IP information. If it is omitted, all nats for this router will be returned. Name should conform to RFC1035.

Returns
TypeDescription
string

hasNatName

clearNatName

setNatName

Name of the nat service to filter the NAT IP information. If it is omitted, all nats for this router will be returned. Name should conform to RFC1035.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProject

Project ID for this request.

Returns
TypeDescription
string

setProject

Project ID for this request.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRegion

Name of the region for this request.

Returns
TypeDescription
string

setRegion

Name of the region for this request.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRouter

Name of the Router resource to query for Nat IP information. The name should conform to RFC1035.

Returns
TypeDescription
string

setRouter

Name of the Router resource to query for Nat IP information. The name should conform to RFC1035.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
project string

Project ID for this request.

region string

Name of the region for this request.

router string

Name of the Router resource to query for Nat IP information. The name should conform to RFC1035.

Returns
TypeDescription
Google\Cloud\Compute\V1\GetNatIpInfoRouterRequest