[[["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."],[],[],null,["# Grafeas v1 API - Class LayerDetails (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.LayerDetails)\n- [3.8.0](/dotnet/docs/reference/Grafeas.V1/3.8.0/Grafeas.V1.LayerDetails)\n- [3.7.0](/dotnet/docs/reference/Grafeas.V1/3.7.0/Grafeas.V1.LayerDetails)\n- [3.6.0](/dotnet/docs/reference/Grafeas.V1/3.6.0/Grafeas.V1.LayerDetails)\n- [3.5.0](/dotnet/docs/reference/Grafeas.V1/3.5.0/Grafeas.V1.LayerDetails)\n- [3.4.0](/dotnet/docs/reference/Grafeas.V1/3.4.0/Grafeas.V1.LayerDetails)\n- [3.3.0](/dotnet/docs/reference/Grafeas.V1/3.3.0/Grafeas.V1.LayerDetails)\n- [3.2.0](/dotnet/docs/reference/Grafeas.V1/3.2.0/Grafeas.V1.LayerDetails)\n- [3.1.0](/dotnet/docs/reference/Grafeas.V1/3.1.0/Grafeas.V1.LayerDetails)\n- [3.0.0](/dotnet/docs/reference/Grafeas.V1/3.0.0/Grafeas.V1.LayerDetails)\n- [2.4.0](/dotnet/docs/reference/Grafeas.V1/2.4.0/Grafeas.V1.LayerDetails)\n- [2.3.0](/dotnet/docs/reference/Grafeas.V1/2.3.0/Grafeas.V1.LayerDetails)\n- [2.2.0](/dotnet/docs/reference/Grafeas.V1/2.2.0/Grafeas.V1.LayerDetails) \n\n public sealed class LayerDetails : IMessage\u003cLayerDetails\u003e, IEquatable\u003cLayerDetails\u003e, IDeepCloneable\u003cLayerDetails\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Grafeas v1 API class LayerDetails.\n\nDetails about the layer a package was found in. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e LayerDetails \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[LayerDetails](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.LayerDetails), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[LayerDetails](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.LayerDetails), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[LayerDetails](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.LayerDetails), [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### LayerDetails()\n\n public LayerDetails()\n\n### LayerDetails(LayerDetails)\n\n public LayerDetails(LayerDetails other)\n\nProperties\n----------\n\n### BaseImages\n\n public RepeatedField\u003cBaseImage\u003e BaseImages { get; }\n\nThe base images the layer is found within.\n\n### ChainId\n\n public string ChainId { get; set; }\n\nThe layer chain ID (sha256 hash) of the layer in the container image.\n\u003chttps://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid\u003e\n\n### Command\n\n public string Command { get; set; }\n\nThe layer build command that was used to build the layer. This may not be\nfound in all layers depending on how the container image is built.\n\n### DiffId\n\n public string DiffId { get; set; }\n\nThe diff ID (typically a sha256 hash) of the layer in the container image.\n\n### Index\n\n public int Index { get; set; }\n\nThe index of the layer in the container image."]]