Class: Google::Apis::NetworkmanagementV1::IpMasqueradingSkippedInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IpMasqueradingSkippedInfo

Returns a new instance of IpMasqueradingSkippedInfo.



1705
1706
1707
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1705

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)


1698
1699
1700
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1698

def non_masquerade_range
  @non_masquerade_range
end

#reasonString

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

Returns:

  • (String)


1703
1704
1705
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1703

def reason
  @reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1710
1711
1712
1713
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1710

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