Class: Google::Apis::ComputeBeta::VmEndpointNatMappings
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::VmEndpointNatMappings
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Overview
Contain information of Nat mapping for a VM endpoint (i.e., NIC).
Instance Attribute Summary collapse
-
#instance_name ⇒ String
Output only.
-
#interface_nat_mappings ⇒ Array<Google::Apis::ComputeBeta::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.
72191 72192 72193 |
# File 'lib/google/apis/compute_beta/classes.rb', line 72191 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_name ⇒ String
Output only. Name of the VM instance which the endpoint belongs to
Corresponds to the JSON property instanceName
72184 72185 72186 |
# File 'lib/google/apis/compute_beta/classes.rb', line 72184 def instance_name @instance_name end |
#interface_nat_mappings ⇒ Array<Google::Apis::ComputeBeta::VmEndpointNatMappingsInterfaceNatMappings>
Corresponds to the JSON property interfaceNatMappings
72189 72190 72191 |
# File 'lib/google/apis/compute_beta/classes.rb', line 72189 def interface_nat_mappings @interface_nat_mappings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
72196 72197 72198 72199 |
# File 'lib/google/apis/compute_beta/classes.rb', line 72196 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 |