Reference documentation and code samples for the Compute V1 Client class VmEndpointNatMappings.
Contain information of Nat mapping for a VM endpoint (i.e., NIC).
Generated from protobuf message google.cloud.compute.v1.VmEndpointNatMappings
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ instance_name |
string
Name of the VM instance which the endpoint belongs to |
↳ interface_nat_mappings |
array<Google\Cloud\Compute\V1\VmEndpointNatMappingsInterfaceNatMappings>
|
getInstanceName
Name of the VM instance which the endpoint belongs to
Returns | |
---|---|
Type | Description |
string |
hasInstanceName
clearInstanceName
setInstanceName
Name of the VM instance which the endpoint belongs to
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getInterfaceNatMappings
Generated from protobuf field repeated .google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappings interface_nat_mappings = 256196617;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setInterfaceNatMappings
Generated from protobuf field repeated .google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappings interface_nat_mappings = 256196617;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Compute\V1\VmEndpointNatMappingsInterfaceNatMappings>
|
Returns | |
---|---|
Type | Description |
$this |