Class: Google::Apis::SecuritycenterV1beta1::Source
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::Source
- 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
-
#description ⇒ String
Corresponds to the JSON property
description. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Source
constructor
A new instance of Source.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Source
Returns a new instance of Source.
12305 12306 12307 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 12305 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
12293 12294 12295 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 12293 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
12298 12299 12300 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 12298 def display_name @display_name end |
#name ⇒ String
Corresponds to the JSON property name
12303 12304 12305 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 12303 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12310 12311 12312 12313 12314 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 12310 def update!(**args) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) end |