Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeExecAction
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeExecAction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
ExecAction specifies a command to execute.
Instance Attribute Summary collapse
-
#command ⇒ Array<String>
Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ProbeExecAction
constructor
A new instance of GoogleCloudAiplatformV1beta1ProbeExecAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ProbeExecAction
Returns a new instance of GoogleCloudAiplatformV1beta1ProbeExecAction.
21146 21147 21148 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21146 def initialize(**args) update!(**args) end |
Instance Attribute Details
#command ⇒ Array<String>
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.
Corresponds to the JSON property command
21144 21145 21146 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21144 def command @command end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21151 21152 21153 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21151 def update!(**args) @command = args[:command] if args.key?(:command) end |