Class: Google::Apis::SecuritycenterV1beta1::PathNode
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::PathNode
- 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
Overview
Represents one point that an attacker passes through in this exposure path.
Instance Attribute Summary collapse
-
#associated_findings ⇒ Array<Google::Apis::SecuritycenterV1beta1::AssociatedFinding>
The findings associated with this node in the exposure path.
-
#display_name ⇒ String
Human readable name of this resource.
-
#resource ⇒ String
The name of the resource at this point in the exposure path.
-
#resource_type ⇒ String
The resource type of this resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PathNode
constructor
A new instance of PathNode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PathNode
Returns a new instance of PathNode.
3147 3148 3149 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3147 def initialize(**args) update!(**args) end |
Instance Attribute Details
#associated_findings ⇒ Array<Google::Apis::SecuritycenterV1beta1::AssociatedFinding>
The findings associated with this node in the exposure path.
Corresponds to the JSON property associatedFindings
3127 3128 3129 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3127 def associated_findings @associated_findings end |
#display_name ⇒ String
Human readable name of this resource.
Corresponds to the JSON property displayName
3132 3133 3134 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3132 def display_name @display_name end |
#resource ⇒ String
The name of the resource at this point in the exposure path. The format of the
name is: https://cloud.google.com/apis/design/resource_names#
full_resource_name
Corresponds to the JSON property resource
3139 3140 3141 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3139 def resource @resource end |
#resource_type ⇒ String
The resource type of this resource. See: https://cloud.google.com/asset-
inventory/docs/supported-asset-types
Corresponds to the JSON property resourceType
3145 3146 3147 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3145 def resource_type @resource_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3152 3153 3154 3155 3156 3157 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3152 def update!(**args) @associated_findings = args[:associated_findings] if args.key?(:associated_findings) @display_name = args[:display_name] if args.key?(:display_name) @resource = args[:resource] if args.key?(:resource) @resource_type = args[:resource_type] if args.key?(:resource_type) end |