public sealed class File.Types.DiskPath : IMessage<File.Types.DiskPath>, IEquatable<File.Types.DiskPath>, IDeepCloneable<File.Types.DiskPath>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class File.Types.DiskPath.
Path of the file in terms of underlying disk/partition identifiers.
[[["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-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eFile.Types.DiskPath\u003c/code\u003e class within the Security Command Center v2 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFile.Types.DiskPath\u003c/code\u003e represents the path of a file based on its underlying disk or partition identifiers.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, for handling data and providing various functionalities.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDiskPath\u003c/code\u003e has two properties, \u003ccode\u003ePartitionUuid\u003c/code\u003e, which is the UUID of the partition, and \u003ccode\u003eRelativePath\u003c/code\u003e, which represents the file's path within the partition.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is 1.1.0, and there is a previous version of 1.0.0.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class File.Types.DiskPath (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.File.Types.DiskPath)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.File.Types.DiskPath)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.File.Types.DiskPath) \n\n public sealed class File.Types.DiskPath : IMessage\u003cFile.Types.DiskPath\u003e, IEquatable\u003cFile.Types.DiskPath\u003e, IDeepCloneable\u003cFile.Types.DiskPath\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class File.Types.DiskPath.\n\nPath of the file in terms of underlying disk/partition identifiers. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e File.Types.DiskPath \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[File](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.File)[Types](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.File.Types)[DiskPath](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.File.Types.DiskPath), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[File](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.File)[Types](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.File.Types)[DiskPath](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.File.Types.DiskPath), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[File](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.File)[Types](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.File.Types)[DiskPath](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.File.Types.DiskPath), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.SecurityCenter.V2](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V2.dll\n\nConstructors\n------------\n\n### DiskPath()\n\n public DiskPath()\n\n### DiskPath(DiskPath)\n\n public DiskPath(File.Types.DiskPath other)\n\nProperties\n----------\n\n### PartitionUuid\n\n public string PartitionUuid { get; set; }\n\nUUID of the partition (format\n\u003chttps://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid\u003e)\n\n### RelativePath\n\n public string RelativePath { get; set; }\n\nRelative path of the file in the partition as a JSON encoded string.\nExample: /home/user1/executable_file.sh"]]