[[["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\u003eThis document provides reference documentation for the \u003ccode\u003eCommand\u003c/code\u003e class within the Grafeas v1 API, describing steps performed in a build pipeline.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eCommand\u003c/code\u003e class is 3.7.0, with versions ranging back to 2.2.0 available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommand\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering methods and properties for manipulating and describing build commands.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eCommand\u003c/code\u003e class include \u003ccode\u003eArgs\u003c/code\u003e, \u003ccode\u003eDir\u003c/code\u003e, \u003ccode\u003eEnv\u003c/code\u003e, \u003ccode\u003eId\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eWaitFor\u003c/code\u003e, which detail the command's arguments, directory, environment, unique identifier, name, and dependencies.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommand\u003c/code\u003e class can be instantiated via two constructors, one default and one that accepts another \u003ccode\u003eCommand\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"]]],[],null,["# Grafeas v1 API - Class Command (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.Command)\n- [3.8.0](/dotnet/docs/reference/Grafeas.V1/3.8.0/Grafeas.V1.Command)\n- [3.7.0](/dotnet/docs/reference/Grafeas.V1/3.7.0/Grafeas.V1.Command)\n- [3.6.0](/dotnet/docs/reference/Grafeas.V1/3.6.0/Grafeas.V1.Command)\n- [3.5.0](/dotnet/docs/reference/Grafeas.V1/3.5.0/Grafeas.V1.Command)\n- [3.4.0](/dotnet/docs/reference/Grafeas.V1/3.4.0/Grafeas.V1.Command)\n- [3.3.0](/dotnet/docs/reference/Grafeas.V1/3.3.0/Grafeas.V1.Command)\n- [3.2.0](/dotnet/docs/reference/Grafeas.V1/3.2.0/Grafeas.V1.Command)\n- [3.1.0](/dotnet/docs/reference/Grafeas.V1/3.1.0/Grafeas.V1.Command)\n- [3.0.0](/dotnet/docs/reference/Grafeas.V1/3.0.0/Grafeas.V1.Command)\n- [2.4.0](/dotnet/docs/reference/Grafeas.V1/2.4.0/Grafeas.V1.Command)\n- [2.3.0](/dotnet/docs/reference/Grafeas.V1/2.3.0/Grafeas.V1.Command)\n- [2.2.0](/dotnet/docs/reference/Grafeas.V1/2.2.0/Grafeas.V1.Command) \n\n public sealed class Command : IMessage\u003cCommand\u003e, IEquatable\u003cCommand\u003e, IDeepCloneable\u003cCommand\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Grafeas v1 API class Command.\n\nCommand describes a step performed as part of the build pipeline. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Command \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Command](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.Command), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Command](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.Command), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Command](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.Command), [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### Command()\n\n public Command()\n\n### Command(Command)\n\n public Command(Command other)\n\nProperties\n----------\n\n### Args\n\n public RepeatedField\u003cstring\u003e Args { get; }\n\nCommand-line arguments used when executing this command.\n\n### Dir\n\n public string Dir { get; set; }\n\nWorking directory (relative to project source root) used when running this\ncommand.\n\n### Env\n\n public RepeatedField\u003cstring\u003e Env { get; }\n\nEnvironment variables set before running this command.\n\n### Id\n\n public string Id { get; set; }\n\nOptional unique identifier for this command, used in wait_for to reference\nthis command as a dependency.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Name of the command, as presented on the command line, or if the\ncommand is packaged as a Docker container, as presented to `docker pull`.\n\n### WaitFor\n\n public RepeatedField\u003cstring\u003e WaitFor { get; }\n\nThe ID(s) of the command(s) that this command depends on."]]