Class: Google::Apis::ComputeAlpha::PacketMirroringPacketMatcher

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PacketMirroringPacketMatcher

Returns a new instance of PacketMirroringPacketMatcher



22852
22853
22854
# File 'generated/google/apis/compute_alpha/classes.rb', line 22852

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

Instance Attribute Details

#cidr_rangeString

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

Returns:

  • (String)


22850
22851
22852
# File 'generated/google/apis/compute_alpha/classes.rb', line 22850

def cidr_range
  @cidr_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22857
22858
22859
# File 'generated/google/apis/compute_alpha/classes.rb', line 22857

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