Class: Google::Apis::ComputeBeta::NatIpInfo
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::NatIpInfo
- 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
Contains NAT IP information of a NAT config (i.e. usage status, mode).
Instance Attribute Summary collapse
-
#nat_ip_info_mappings ⇒ Array<Google::Apis::ComputeBeta::NatIpInfoNatIpInfoMapping>
Output only.
-
#nat_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NatIpInfo
constructor
A new instance of NatIpInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NatIpInfo
Returns a new instance of NatIpInfo.
36164 36165 36166 |
# File 'lib/google/apis/compute_beta/classes.rb', line 36164 def initialize(**args) update!(**args) end |
Instance Attribute Details
#nat_ip_info_mappings ⇒ Array<Google::Apis::ComputeBeta::NatIpInfoNatIpInfoMapping>
Output only. A list of all NAT IPs assigned to this NAT config.
Corresponds to the JSON property natIpInfoMappings
36157 36158 36159 |
# File 'lib/google/apis/compute_beta/classes.rb', line 36157 def nat_ip_info_mappings @nat_ip_info_mappings end |
#nat_name ⇒ String
Output only. Name of the NAT config which the NAT IP belongs to.
Corresponds to the JSON property natName
36162 36163 36164 |
# File 'lib/google/apis/compute_beta/classes.rb', line 36162 def nat_name @nat_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
36169 36170 36171 36172 |
# File 'lib/google/apis/compute_beta/classes.rb', line 36169 def update!(**args) @nat_ip_info_mappings = args[:nat_ip_info_mappings] if args.key?(:nat_ip_info_mappings) @nat_name = args[:nat_name] if args.key?(:nat_name) end |