Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Property
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Property
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#name ⇒ String
Corresponds to the JSON property
name. -
#value_expression ⇒ Google::Apis::SecuritycenterV1beta1::Expr
Corresponds to the JSON property
valueExpression.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV1Property
constructor
A new instance of GoogleCloudSecuritycenterV1Property.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV1Property
Returns a new instance of GoogleCloudSecuritycenterV1Property.
3458 3459 3460 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3458 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Corresponds to the JSON property name
3451 3452 3453 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3451 def name @name end |
#value_expression ⇒ Google::Apis::SecuritycenterV1beta1::Expr
Corresponds to the JSON property valueExpression
3456 3457 3458 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3456 def value_expression @value_expression end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3463 3464 3465 3466 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3463 def update!(**args) @name = args[:name] if args.key?(:name) @value_expression = args[:value_expression] if args.key?(:value_expression) end |