Compute V1 Client - Class VmEndpointNatMappings (1.20.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

Namespace

Google \ Cloud \ Compute \ V1

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

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

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: