Compute V1 Client - Class VmEndpointNatMappings (1.5.0)

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

Methods

__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

getInstanceName

Name of the VM instance which the endpoint belongs to

Generated from protobuf field optional string instance_name = 227947509;

Returns
Type
Description
string

hasInstanceName

clearInstanceName

setInstanceName

Name of the VM instance which the endpoint belongs to

Generated from protobuf field optional string instance_name = 227947509;

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;

Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: