Class: Google::Apis::ComputeV1::WafExpressionSet
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::WafExpressionSet
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
-
#aliases ⇒ Array<String>
A list of alternate IDs.
-
#expressions ⇒ Array<Google::Apis::ComputeV1::WafExpressionSetExpression>
List of available expressions.
-
#id ⇒ String
Google specified expression set ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WafExpressionSet
constructor
A new instance of WafExpressionSet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WafExpressionSet
Returns a new instance of WafExpressionSet.
43136 43137 43138 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43136 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aliases ⇒ Array<String>
A list of alternate IDs. The format should be: - E.g. XSS-stable Generic
suffix like "stable" is particularly useful if a policy likes to avail newer
set of expressions without having to change the policy. A given alias name can'
t be used for more than one entity set.
Corresponds to the JSON property aliases
43123 43124 43125 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43123 def aliases @aliases end |
#expressions ⇒ Array<Google::Apis::ComputeV1::WafExpressionSetExpression>
List of available expressions.
Corresponds to the JSON property expressions
43128 43129 43130 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43128 def expressions @expressions end |
#id ⇒ String
Google specified expression set ID. The format should be: - E.g. XSS-20170329
required
Corresponds to the JSON property id
43134 43135 43136 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43134 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
43141 43142 43143 43144 43145 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43141 def update!(**args) @aliases = args[:aliases] if args.key?(:aliases) @expressions = args[:expressions] if args.key?(:expressions) @id = args[:id] if args.key?(:id) end |