Class: Google::Apis::NetworkmanagementV1beta1::IpMasqueradingSkippedInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkmanagement_v1beta1/classes.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb

Overview

For display only. Contains information about why IP masquerading was skipped for the packet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IpMasqueradingSkippedInfo

Returns a new instance of IpMasqueradingSkippedInfo.



1810
1811
1812
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1810

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#non_masquerade_rangeString

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

Returns:

  • (String)


1803
1804
1805
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1803

def non_masquerade_range
  @non_masquerade_range
end

#reasonString

Reason why IP masquerading was not applied. Corresponds to the JSON property reason

Returns:

  • (String)


1808
1809
1810
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1808

def reason
  @reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1815
1816
1817
1818
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1815

def update!(**args)
  @non_masquerade_range = args[:non_masquerade_range] if args.key?(:non_masquerade_range)
  @reason = args[:reason] if args.key?(:reason)
end