value (::Array<::Google::Cloud::Run::V2::EnvVar>) โ List of environment variables to set in the container. Will be merged
with existing env for override.
Returns
(::Array<::Google::Cloud::Run::V2::EnvVar>) โ List of environment variables to set in the container. Will be merged
with existing env for override.
#name
defname()->::String
Returns
(::String) โ The name of the container specified as a DNS_LABEL.
#name=
defname=(value)->::String
Parameter
value (::String) โ The name of the container specified as a DNS_LABEL.
Returns
(::String) โ The name of the container specified as a DNS_LABEL.
[[["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,["# Cloud Run V2 API - Class Google::Cloud::Run::V2::RunJobRequest::Overrides::ContainerOverride (v0.26.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.26.0 (latest)](/ruby/docs/reference/google-cloud-run-v2/latest/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.25.0](/ruby/docs/reference/google-cloud-run-v2/0.25.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.24.1](/ruby/docs/reference/google-cloud-run-v2/0.24.1/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.23.0](/ruby/docs/reference/google-cloud-run-v2/0.23.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.22.1](/ruby/docs/reference/google-cloud-run-v2/0.22.1/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.21.0](/ruby/docs/reference/google-cloud-run-v2/0.21.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.20.0](/ruby/docs/reference/google-cloud-run-v2/0.20.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.19.0](/ruby/docs/reference/google-cloud-run-v2/0.19.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.18.0](/ruby/docs/reference/google-cloud-run-v2/0.18.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.17.0](/ruby/docs/reference/google-cloud-run-v2/0.17.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.16.1](/ruby/docs/reference/google-cloud-run-v2/0.16.1/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.15.0](/ruby/docs/reference/google-cloud-run-v2/0.15.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.14.0](/ruby/docs/reference/google-cloud-run-v2/0.14.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.13.2](/ruby/docs/reference/google-cloud-run-v2/0.13.2/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.12.0](/ruby/docs/reference/google-cloud-run-v2/0.12.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.11.0](/ruby/docs/reference/google-cloud-run-v2/0.11.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.10.1](/ruby/docs/reference/google-cloud-run-v2/0.10.1/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.9.1](/ruby/docs/reference/google-cloud-run-v2/0.9.1/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.8.0](/ruby/docs/reference/google-cloud-run-v2/0.8.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.7.0](/ruby/docs/reference/google-cloud-run-v2/0.7.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.6.0](/ruby/docs/reference/google-cloud-run-v2/0.6.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.5.0](/ruby/docs/reference/google-cloud-run-v2/0.5.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.4.0](/ruby/docs/reference/google-cloud-run-v2/0.4.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.3.1](/ruby/docs/reference/google-cloud-run-v2/0.3.1/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.2.0](/ruby/docs/reference/google-cloud-run-v2/0.2.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride)\n- [0.1.0](/ruby/docs/reference/google-cloud-run-v2/0.1.0/Google-Cloud-Run-V2-RunJobRequest-Overrides-ContainerOverride) \nReference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::RunJobRequest::Overrides::ContainerOverride.\n\nPer-container override specification. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #args\n\n def args() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Optional. Arguments to the entrypoint. Will replace existing args for override.\n\n### #args=\n\n def args=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- Optional. Arguments to the entrypoint. Will replace existing args for override. \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Optional. Arguments to the entrypoint. Will replace existing args for override.\n\n### #clear_args\n\n def clear_args() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. True if the intention is to clear out existing args list.\n\n### #clear_args=\n\n def clear_args=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. True if the intention is to clear out existing args list. \n**Returns**\n\n- (::Boolean) --- Optional. True if the intention is to clear out existing args list.\n\n### #env\n\n def env() -\u003e ::Array\u003c::Google::Cloud::Run::V2::EnvVar\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Run::V2::EnvVar](./Google-Cloud-Run-V2-EnvVar)\\\u003e) --- List of environment variables to set in the container. Will be merged with existing env for override.\n\n### #env=\n\n def env=(value) -\u003e ::Array\u003c::Google::Cloud::Run::V2::EnvVar\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::Run::V2::EnvVar](./Google-Cloud-Run-V2-EnvVar)\\\u003e) --- List of environment variables to set in the container. Will be merged with existing env for override. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Run::V2::EnvVar](./Google-Cloud-Run-V2-EnvVar)\\\u003e) --- List of environment variables to set in the container. Will be merged with existing env for override.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The name of the container specified as a DNS_LABEL.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The name of the container specified as a DNS_LABEL. \n**Returns**\n\n- (::String) --- The name of the container specified as a DNS_LABEL."]]