Class: Google::Apis::NetworkmanagementV1::IpMasqueradingSkippedInfo
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1::IpMasqueradingSkippedInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkmanagement_v1/classes.rb,
lib/google/apis/networkmanagement_v1/representations.rb,
lib/google/apis/networkmanagement_v1/representations.rb
Overview
For display only. Contains information about why IP masquerading was skipped for the packet.
Instance Attribute Summary collapse
-
#non_masquerade_range ⇒ String
The matched non-masquerade IP range.
-
#reason ⇒ String
Reason why IP masquerading was not applied.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IpMasqueradingSkippedInfo
constructor
A new instance of IpMasqueradingSkippedInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IpMasqueradingSkippedInfo
Returns a new instance of IpMasqueradingSkippedInfo.
1645 1646 1647 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1645 def initialize(**args) update!(**args) end |
Instance Attribute Details
#non_masquerade_range ⇒ String
The matched non-masquerade IP range. Only set if reason is
DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE or
DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE.
Corresponds to the JSON property nonMasqueradeRange
1638 1639 1640 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1638 def non_masquerade_range @non_masquerade_range end |
#reason ⇒ String
Reason why IP masquerading was not applied.
Corresponds to the JSON property reason
1643 1644 1645 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1643 def reason @reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1650 1651 1652 1653 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1650 def update!(**args) @non_masquerade_range = args[:non_masquerade_range] if args.key?(:non_masquerade_range) @reason = args[:reason] if args.key?(:reason) end |