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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getProject
Project ID for this request.
Returns | |
---|---|
Type | Description |
string |
setProject
Project ID for this request.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRegion
Name of the region for this request.
Returns | |
---|---|
Type | Description |
string |
setRegion
Name of the region for this request.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRouter
Name of the Router resource to query for Nat IP information. The name should conform to RFC1035.
Returns | |
---|---|
Type | Description |
string |
setRouter
Name of the Router resource to query for Nat IP information. The name should conform to RFC1035.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Cloud\Compute\V1\GetNatIpInfoRouterRequest |