Class: Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherConfig
- 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
-
#dest_ip_ranges ⇒ Array<String>
CIDR IP address range.
-
#dest_ports ⇒ Array<Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherConfigDestinationPort>
Pairs of IP protocols and ports that the rule should match.
-
#src_ip_ranges ⇒ Array<String>
CIDR IP address range.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityPolicyRuleMatcherConfig
constructor
A new instance of SecurityPolicyRuleMatcherConfig.
-
#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) ⇒ SecurityPolicyRuleMatcherConfig
Returns a new instance of SecurityPolicyRuleMatcherConfig
23909 23910 23911 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 23909 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dest_ip_ranges ⇒ Array<String>
CIDR IP address range.
This field may only be specified when versioned_expr is set to FIREWALL.
Corresponds to the JSON property destIpRanges
23896 23897 23898 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 23896 def dest_ip_ranges @dest_ip_ranges end |
#dest_ports ⇒ Array<Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherConfigDestinationPort>
Pairs of IP protocols and ports that the rule should match.
This field may only be specified when versioned_expr is set to FIREWALL.
Corresponds to the JSON property destPorts
23902 23903 23904 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 23902 def dest_ports @dest_ports end |
#src_ip_ranges ⇒ Array<String>
CIDR IP address range.
Corresponds to the JSON property srcIpRanges
23907 23908 23909 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 23907 def src_ip_ranges @src_ip_ranges end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23914 23915 23916 23917 23918 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 23914 def update!(**args) @dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges) @dest_ports = args[:dest_ports] if args.key?(:dest_ports) @src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges) end |