Class: Google::Apis::SecuritycenterV1::AttackStepNode
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::AttackStepNode
- 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. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#labels ⇒ Hash<String,String>
Corresponds to the JSON property
labels. -
#type ⇒ String
Corresponds to the JSON property
type. -
#uuid ⇒ String
Corresponds to the JSON property
uuid.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AttackStepNode
constructor
A new instance of AttackStepNode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AttackStepNode
Returns a new instance of AttackStepNode.
857 858 859 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 857 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
835 836 837 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 835 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
840 841 842 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 840 def display_name @display_name end |
#labels ⇒ Hash<String,String>
Corresponds to the JSON property labels
845 846 847 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 845 def labels @labels end |
#type ⇒ String
Corresponds to the JSON property type
850 851 852 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 850 def type @type end |
#uuid ⇒ String
Corresponds to the JSON property uuid
855 856 857 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 855 def uuid @uuid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
862 863 864 865 866 867 868 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 862 def update!(**args) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @type = args[:type] if args.key?(:type) @uuid = args[:uuid] if args.key?(:uuid) end |