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.



782
783
784
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 782

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


760
761
762
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 760

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


765
766
767
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 765

def display_name
  @display_name
end

#labelsHash<String,String>

Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


770
771
772
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 770

def labels
  @labels
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


775
776
777
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 775

def type
  @type
end

#uuidString

Corresponds to the JSON property uuid

Returns:

  • (String)


780
781
782
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 780

def uuid
  @uuid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



787
788
789
790
791
792
793
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 787

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