public sealed class Probe.Types.ExecAction : IMessage<Probe.Types.ExecAction>, IEquatable<Probe.Types.ExecAction>, IDeepCloneable<Probe.Types.ExecAction>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class Probe.Types.ExecAction.
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
The command is simply exec'd, it is not run inside a shell, so
traditional shell instructions ('|', etc) won't work. To use a shell, you
need to explicitly call out to that shell. Exit status of 0 is treated as
live/healthy and non-zero is unhealthy.
[[["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-14 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eProbe.Types.ExecAction\u003c/code\u003e class is 1.0.0-beta21, which is part of the Google Cloud Vertex AI v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eExecAction\u003c/code\u003e is a class that specifies a command to be executed, as defined within the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExecAction\u003c/code\u003e class inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and 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.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eExecAction\u003c/code\u003e includes a \u003ccode\u003eCommand\u003c/code\u003e property, which is a \u003ccode\u003eRepeatedField<string>\u003c/code\u003e representing the command line to execute within a container, executed directly without a shell.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExecAction\u003c/code\u003e class offers two constructors, one default and one accepting another \u003ccode\u003eExecAction\u003c/code\u003e instance as a parameter for creating a copy.\u003c/p\u003e\n"]]],[],null,[]]