Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::RunJobRequest::Overrides::ContainerOverride.
Per-container override specification.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#args
def args() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. Arguments to the entrypoint. Will replace existing args for override.
#args=
def args=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. Arguments to the entrypoint. Will replace existing args for override.
Returns
- (::Array<::String>) — Optional. Arguments to the entrypoint. Will replace existing args for override.
#clear_args
def clear_args() -> ::Boolean
Returns
- (::Boolean) — Optional. True if the intention is to clear out existing args list.
#clear_args=
def clear_args=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. True if the intention is to clear out existing args list.
Returns
- (::Boolean) — Optional. True if the intention is to clear out existing args list.
#env
def env() -> ::Array<::Google::Cloud::Run::V2::EnvVar>
Returns
- (::Array<::Google::Cloud::Run::V2::EnvVar>) — List of environment variables to set in the container. Will be merged with existing env for override.
#env=
def env=(value) -> ::Array<::Google::Cloud::Run::V2::EnvVar>
Parameter
- 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
def name() -> ::String
Returns
- (::String) — The name of the container specified as a DNS_LABEL.
#name=
def name=(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.