Class: Google::Apis::SecuritycenterV1beta2::Expr
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::Expr
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#description ⇒ String
Corresponds to the JSON property
description. -
#expression ⇒ String
Corresponds to the JSON property
expression. -
#location ⇒ String
Corresponds to the JSON property
location. -
#title ⇒ String
Corresponds to the JSON property
title.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Expr
constructor
A new instance of Expr.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Expr
Returns a new instance of Expr.
2234 2235 2236 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2234 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
2217 2218 2219 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2217 def description @description end |
#expression ⇒ String
Corresponds to the JSON property expression
2222 2223 2224 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2222 def expression @expression end |
#location ⇒ String
Corresponds to the JSON property location
2227 2228 2229 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2227 def location @location end |
#title ⇒ String
Corresponds to the JSON property title
2232 2233 2234 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2232 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2239 2240 2241 2242 2243 2244 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2239 def update!(**args) @description = args[:description] if args.key?(:description) @expression = args[:expression] if args.key?(:expression) @location = args[:location] if args.key?(:location) @title = args[:title] if args.key?(:title) end |