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.



1970
1971
1972
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1970

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)


1963
1964
1965
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1963

def non_masquerade_range
  @non_masquerade_range
end

#reasonString

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

Returns:

  • (String)


1968
1969
1970
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1968

def reason
  @reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1975
1976
1977
1978
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1975

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