Class: Google::Apis::SecuritycenterV1::Expr
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::Expr
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/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.
2710 2711 2712 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2710 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
2693 2694 2695 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2693 def description @description end |
#expression ⇒ String
Corresponds to the JSON property expression
2698 2699 2700 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2698 def expression @expression end |
#location ⇒ String
Corresponds to the JSON property location
2703 2704 2705 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2703 def location @location end |
#title ⇒ String
Corresponds to the JSON property title
2708 2709 2710 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2708 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2715 2716 2717 2718 2719 2720 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2715 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 |