Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1Property

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV1Property

Returns a new instance of GoogleCloudSecuritycenterV1Property.



3839
3840
3841
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3839

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3832
3833
3834
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3832

def name
  @name
end

#value_expressionGoogle::Apis::SecuritycenterV1::Expr

Corresponds to the JSON property valueExpression



3837
3838
3839
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3837

def value_expression
  @value_expression
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3844
3845
3846
3847
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3844

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @value_expression = args[:value_expression] if args.key?(:value_expression)
end