Class: Google::Apis::ComputeBeta::WafExpressionSet
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::WafExpressionSet
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#aliases ⇒ Array<String>
A list of alternate IDs.
-
#expressions ⇒ Array<Google::Apis::ComputeBeta::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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ WafExpressionSet
Returns a new instance of WafExpressionSet
27010 27011 27012 |
# File 'generated/google/apis/compute_beta/classes.rb', line 27010 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
26998 26999 27000 |
# File 'generated/google/apis/compute_beta/classes.rb', line 26998 def aliases @aliases end |
#expressions ⇒ Array<Google::Apis::ComputeBeta::WafExpressionSetExpression>
List of available expressions.
Corresponds to the JSON property expressions
27003 27004 27005 |
# File 'generated/google/apis/compute_beta/classes.rb', line 27003 def expressions @expressions end |
#id ⇒ String
Google specified expression set ID. The format should be: - E.g. XSS-20170329
Corresponds to the JSON property id
27008 27009 27010 |
# File 'generated/google/apis/compute_beta/classes.rb', line 27008 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27015 27016 27017 27018 27019 |
# File 'generated/google/apis/compute_beta/classes.rb', line 27015 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 |