Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::ResourcePath::ResourcePathNode.
A node within the resource path. Each node represents a resource within the
resource hierarchy.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::ResourcePath::ResourcePathNode (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-ResourcePath-ResourcePathNode)\n- [1.2.0](/ruby/docs/reference/google-cloud-security_center-v2/1.2.0/Google-Cloud-SecurityCenter-V2-ResourcePath-ResourcePathNode)\n- [1.1.1](/ruby/docs/reference/google-cloud-security_center-v2/1.1.1/Google-Cloud-SecurityCenter-V2-ResourcePath-ResourcePathNode)\n- [1.0.0](/ruby/docs/reference/google-cloud-security_center-v2/1.0.0/Google-Cloud-SecurityCenter-V2-ResourcePath-ResourcePathNode)\n- [0.6.0](/ruby/docs/reference/google-cloud-security_center-v2/0.6.0/Google-Cloud-SecurityCenter-V2-ResourcePath-ResourcePathNode)\n- [0.5.0](/ruby/docs/reference/google-cloud-security_center-v2/0.5.0/Google-Cloud-SecurityCenter-V2-ResourcePath-ResourcePathNode)\n- [0.4.1](/ruby/docs/reference/google-cloud-security_center-v2/0.4.1/Google-Cloud-SecurityCenter-V2-ResourcePath-ResourcePathNode)\n- [0.3.0](/ruby/docs/reference/google-cloud-security_center-v2/0.3.0/Google-Cloud-SecurityCenter-V2-ResourcePath-ResourcePathNode)\n- [0.2.0](/ruby/docs/reference/google-cloud-security_center-v2/0.2.0/Google-Cloud-SecurityCenter-V2-ResourcePath-ResourcePathNode)\n- [0.1.0](/ruby/docs/reference/google-cloud-security_center-v2/0.1.0/Google-Cloud-SecurityCenter-V2-ResourcePath-ResourcePathNode) \nReference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::ResourcePath::ResourcePathNode.\n\nA node within the resource path. Each node represents a resource within the\nresource hierarchy. \n\nInherits\n--------\n\n- [Object](./Google-Cloud-SecurityCenter-V2-Kubernetes-Object) \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #display_name\n\n def display_name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The display name of the resource this node represents.\n\n### #display_name=\n\n def display_name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The display name of the resource this node represents. \n**Returns**\n\n- (::String) --- The display name of the resource this node represents.\n\n### #id\n\n def id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The ID of the resource this node represents.\n\n### #id=\n\n def id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The ID of the resource this node represents. \n**Returns**\n\n- (::String) --- The ID of the resource this node represents.\n\n### #node_type\n\n def node_type() -\u003e ::Google::Cloud::SecurityCenter::V2::ResourcePath::ResourcePathNodeType\n\n**Returns**\n\n- ([::Google::Cloud::SecurityCenter::V2::ResourcePath::ResourcePathNodeType](./Google-Cloud-SecurityCenter-V2-ResourcePath-ResourcePathNodeType)) --- The type of resource this node represents.\n\n### #node_type=\n\n def node_type=(value) -\u003e ::Google::Cloud::SecurityCenter::V2::ResourcePath::ResourcePathNodeType\n\n**Parameter**\n\n- **value** ([::Google::Cloud::SecurityCenter::V2::ResourcePath::ResourcePathNodeType](./Google-Cloud-SecurityCenter-V2-ResourcePath-ResourcePathNodeType)) --- The type of resource this node represents. \n**Returns**\n\n- ([::Google::Cloud::SecurityCenter::V2::ResourcePath::ResourcePathNodeType](./Google-Cloud-SecurityCenter-V2-ResourcePath-ResourcePathNodeType)) --- The type of resource this node represents."]]