Class: Google::Apis::ComputeV1::VmEndpointNatMappings
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::VmEndpointNatMappings
- Defined in:
- generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb
Overview
Contain information of Nat mapping for a VM endpoint (i.e., NIC).
Instance Attribute Summary collapse
-
#instance_name ⇒ String
Name of the VM instance which the endpoint belongs to Corresponds to the JSON property
instanceName
. -
#interface_nat_mappings ⇒ Array<Google::Apis::ComputeV1::VmEndpointNatMappingsInterfaceNatMappings>
Corresponds to the JSON property
interfaceNatMappings
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmEndpointNatMappings
constructor
A new instance of VmEndpointNatMappings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ VmEndpointNatMappings
Returns a new instance of VmEndpointNatMappings
22934 22935 22936 |
# File 'generated/google/apis/compute_v1/classes.rb', line 22934 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_name ⇒ String
Name of the VM instance which the endpoint belongs to
Corresponds to the JSON property instanceName
22927 22928 22929 |
# File 'generated/google/apis/compute_v1/classes.rb', line 22927 def instance_name @instance_name end |
#interface_nat_mappings ⇒ Array<Google::Apis::ComputeV1::VmEndpointNatMappingsInterfaceNatMappings>
Corresponds to the JSON property interfaceNatMappings
22932 22933 22934 |
# File 'generated/google/apis/compute_v1/classes.rb', line 22932 def interface_nat_mappings @interface_nat_mappings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22939 22940 22941 22942 |
# File 'generated/google/apis/compute_v1/classes.rb', line 22939 def update!(**args) @instance_name = args[:instance_name] if args.key?(:instance_name) @interface_nat_mappings = args[:interface_nat_mappings] if args.key?(:interface_nat_mappings) end |