Class: Google::Apis::SecuritycenterV1::AttackStepNode

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) ⇒ 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

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


835
836
837
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 835

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


840
841
842
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 840

def display_name
  @display_name
end

#labelsHash<String,String>

Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


845
846
847
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 845

def labels
  @labels
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


850
851
852
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 850

def type
  @type
end

#uuidString

Corresponds to the JSON property uuid

Returns:

  • (String)


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