Class: Google::Apis::ComputeAlpha::PacketMirroringPacketMatcher
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::PacketMirroringPacketMatcher
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#cidr_range ⇒ String
IP CIDR range that applies as filter on the source or destination IP in the IP header.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PacketMirroringPacketMatcher
constructor
A new instance of PacketMirroringPacketMatcher.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ PacketMirroringPacketMatcher
Returns a new instance of PacketMirroringPacketMatcher
23222 23223 23224 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 23222 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cidr_range ⇒ String
IP CIDR range that applies as filter on the source or destination IP in the IP
header. Only IPv4 is supported.
Corresponds to the JSON property cidrRange
23220 23221 23222 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 23220 def cidr_range @cidr_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23227 23228 23229 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 23227 def update!(**args) @cidr_range = args[:cidr_range] if args.key?(:cidr_range) end |