[[["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-04 UTC."],[[["\u003cp\u003eThe latest version of the Grafeas V1 API's FileLocation class is 3.7.0, with older versions ranging down to 2.2.0 also available for reference.\u003c/p\u003e\n"],["\u003cp\u003eFileLocation is a class that indicates the location where a package was found and implements multiple interfaces including IMessage, IEquatable, and IDeepCloneable.\u003c/p\u003e\n"],["\u003cp\u003eFileLocation inherits from object and its namespace is Grafeas.V1, located within the Grafeas.V1.dll assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a \u003ccode\u003eFilePath\u003c/code\u003e property which, for .jar files within .war files, can specify the path to the .war file combined with the .jar file's path.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for creating a FileLocation object, one with no parameter and another that takes a FileLocation object as a parameter.\u003c/p\u003e\n"]]],[],null,["# Grafeas v1 API - Class FileLocation (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.FileLocation)\n- [3.8.0](/dotnet/docs/reference/Grafeas.V1/3.8.0/Grafeas.V1.FileLocation)\n- [3.7.0](/dotnet/docs/reference/Grafeas.V1/3.7.0/Grafeas.V1.FileLocation)\n- [3.6.0](/dotnet/docs/reference/Grafeas.V1/3.6.0/Grafeas.V1.FileLocation)\n- [3.5.0](/dotnet/docs/reference/Grafeas.V1/3.5.0/Grafeas.V1.FileLocation)\n- [3.4.0](/dotnet/docs/reference/Grafeas.V1/3.4.0/Grafeas.V1.FileLocation)\n- [3.3.0](/dotnet/docs/reference/Grafeas.V1/3.3.0/Grafeas.V1.FileLocation)\n- [3.2.0](/dotnet/docs/reference/Grafeas.V1/3.2.0/Grafeas.V1.FileLocation)\n- [3.1.0](/dotnet/docs/reference/Grafeas.V1/3.1.0/Grafeas.V1.FileLocation)\n- [3.0.0](/dotnet/docs/reference/Grafeas.V1/3.0.0/Grafeas.V1.FileLocation)\n- [2.4.0](/dotnet/docs/reference/Grafeas.V1/2.4.0/Grafeas.V1.FileLocation)\n- [2.3.0](/dotnet/docs/reference/Grafeas.V1/2.3.0/Grafeas.V1.FileLocation)\n- [2.2.0](/dotnet/docs/reference/Grafeas.V1/2.2.0/Grafeas.V1.FileLocation) \n\n public sealed class FileLocation : IMessage\u003cFileLocation\u003e, IEquatable\u003cFileLocation\u003e, IDeepCloneable\u003cFileLocation\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Grafeas v1 API class FileLocation.\n\nIndicates the location at which a package was found. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e FileLocation \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FileLocation](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.FileLocation), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FileLocation](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.FileLocation), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[FileLocation](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.FileLocation), [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[Grafeas.V1](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1)\n\nAssembly\n--------\n\nGrafeas.V1.dll\n\nConstructors\n------------\n\n### FileLocation()\n\n public FileLocation()\n\n### FileLocation(FileLocation)\n\n public FileLocation(FileLocation other)\n\nProperties\n----------\n\n### FilePath\n\n public string FilePath { get; set; }\n\nFor jars that are contained inside .war files, this filepath\ncan indicate the path to war file combined with the path to jar file.\n\n### LayerDetails\n\n public LayerDetails LayerDetails { get; set; }\n\nEach package found in a file should have its own layer metadata (that is,\ninformation from the origin layer of the package)."]]