Class: Google::Apis::ComputeAlpha::VmEndpointNatMappings
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::VmEndpointNatMappings
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/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::ComputeAlpha::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.
Constructor Details
#initialize(**args) ⇒ VmEndpointNatMappings
Returns a new instance of VmEndpointNatMappings.
41468 41469 41470 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 41468 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
41461 41462 41463 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 41461 def instance_name @instance_name end |
#interface_nat_mappings ⇒ Array<Google::Apis::ComputeAlpha::VmEndpointNatMappingsInterfaceNatMappings>
Corresponds to the JSON property interfaceNatMappings
41466 41467 41468 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 41466 def interface_nat_mappings @interface_nat_mappings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
41473 41474 41475 41476 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 41473 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 |