[[["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 Client - Class Command (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/grafeas/latest/V1.Command)\n- [1.2.1](/php/docs/reference/grafeas/1.2.1/V1.Command)\n- [1.1.3](/php/docs/reference/grafeas/1.1.3/V1.Command)\n- [1.0.0](/php/docs/reference/grafeas/1.0.0/V1.Command)\n- [0.10.3](/php/docs/reference/grafeas/0.10.3/V1.Command)\n- [0.9.0](/php/docs/reference/grafeas/0.9.0/V1.Command)\n- [0.8.3](/php/docs/reference/grafeas/0.8.3/V1.Command)\n- [0.7.1](/php/docs/reference/grafeas/0.7.1/V1.Command)\n- [0.6.0](/php/docs/reference/grafeas/0.6.0/V1.Command)\n- [0.5.0](/php/docs/reference/grafeas/0.5.0/V1.Command)\n- [0.4.4](/php/docs/reference/grafeas/0.4.4/V1.Command) \nReference documentation and code samples for the Grafeas V1 Client class Command.\n\nCommand describes a step performed as part of the build pipeline.\n\nGenerated from protobuf message `grafeas.v1.Command`\n\nNamespace\n---------\n\nGrafeas \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\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### setName\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### getEnv\n\nEnvironment variables set before running this command.\n\n### setEnv\n\nEnvironment variables set before running this command.\n\n### getArgs\n\nCommand-line arguments used when executing this command.\n\n### setArgs\n\nCommand-line arguments used when executing this command.\n\n### getDir\n\nWorking directory (relative to project source root) used when running this\ncommand.\n\n### setDir\n\nWorking directory (relative to project source root) used when running this\ncommand.\n\n### getId\n\nOptional unique identifier for this command, used in wait_for to reference\nthis command as a dependency.\n\n### setId\n\nOptional unique identifier for this command, used in wait_for to reference\nthis command as a dependency.\n\n### getWaitFor\n\nThe ID(s) of the command(s) that this command depends on.\n\n### setWaitFor\n\nThe ID(s) of the command(s) that this command depends on."]]