Class: Google::Cloud::Run::V2::RunJobRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Run::V2::RunJobRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/run/v2/job.rb
Overview
Request message to create a new Execution of a Job.
Defined Under Namespace
Classes: Overrides
Instance Attribute Summary collapse
-
#etag ⇒ ::String
A system-generated fingerprint for this version of the resource.
-
#name ⇒ ::String
Required.
-
#overrides ⇒ ::Google::Cloud::Run::V2::RunJobRequest::Overrides
Overrides specification for a given execution of a job.
-
#validate_only ⇒ ::Boolean
Indicates that the request should be validated without actually deleting any resources.
Instance Attribute Details
#etag ⇒ ::String
Returns A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
# File 'proto_docs/google/cloud/run/v2/job.rb', line 146 class RunJobRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # RunJob Overrides that contains Execution fields to be overridden. # @!attribute [rw] container_overrides # @return [::Array<::Google::Cloud::Run::V2::RunJobRequest::Overrides::ContainerOverride>] # Per container override specification. # @!attribute [rw] task_count # @return [::Integer] # Optional. The desired number of tasks the execution should run. Will # replace existing task_count value. # @!attribute [rw] timeout # @return [::Google::Protobuf::Duration] # Duration in seconds the task may be active before the system will # actively try to mark it failed and kill associated containers. Will # replace existing timeout_seconds value. class Overrides include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Per-container override specification. # @!attribute [rw] name # @return [::String] # The name of the container specified as a DNS_LABEL. # @!attribute [rw] args # @return [::Array<::String>] # Optional. Arguments to the entrypoint. Will replace existing args for # override. # @!attribute [rw] env # @return [::Array<::Google::Cloud::Run::V2::EnvVar>] # List of environment variables to set in the container. Will be merged # with existing env for override. # @!attribute [rw] clear_args # @return [::Boolean] # Optional. True if the intention is to clear out existing args list. class ContainerOverride include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |
#name ⇒ ::String
Returns Required. The full name of the Job. Format: projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or number.
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
# File 'proto_docs/google/cloud/run/v2/job.rb', line 146 class RunJobRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # RunJob Overrides that contains Execution fields to be overridden. # @!attribute [rw] container_overrides # @return [::Array<::Google::Cloud::Run::V2::RunJobRequest::Overrides::ContainerOverride>] # Per container override specification. # @!attribute [rw] task_count # @return [::Integer] # Optional. The desired number of tasks the execution should run. Will # replace existing task_count value. # @!attribute [rw] timeout # @return [::Google::Protobuf::Duration] # Duration in seconds the task may be active before the system will # actively try to mark it failed and kill associated containers. Will # replace existing timeout_seconds value. class Overrides include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Per-container override specification. # @!attribute [rw] name # @return [::String] # The name of the container specified as a DNS_LABEL. # @!attribute [rw] args # @return [::Array<::String>] # Optional. Arguments to the entrypoint. Will replace existing args for # override. # @!attribute [rw] env # @return [::Array<::Google::Cloud::Run::V2::EnvVar>] # List of environment variables to set in the container. Will be merged # with existing env for override. # @!attribute [rw] clear_args # @return [::Boolean] # Optional. True if the intention is to clear out existing args list. class ContainerOverride include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |
#overrides ⇒ ::Google::Cloud::Run::V2::RunJobRequest::Overrides
Returns Overrides specification for a given execution of a job. If provided, overrides will be applied to update the execution or task spec.
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
# File 'proto_docs/google/cloud/run/v2/job.rb', line 146 class RunJobRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # RunJob Overrides that contains Execution fields to be overridden. # @!attribute [rw] container_overrides # @return [::Array<::Google::Cloud::Run::V2::RunJobRequest::Overrides::ContainerOverride>] # Per container override specification. # @!attribute [rw] task_count # @return [::Integer] # Optional. The desired number of tasks the execution should run. Will # replace existing task_count value. # @!attribute [rw] timeout # @return [::Google::Protobuf::Duration] # Duration in seconds the task may be active before the system will # actively try to mark it failed and kill associated containers. Will # replace existing timeout_seconds value. class Overrides include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Per-container override specification. # @!attribute [rw] name # @return [::String] # The name of the container specified as a DNS_LABEL. # @!attribute [rw] args # @return [::Array<::String>] # Optional. Arguments to the entrypoint. Will replace existing args for # override. # @!attribute [rw] env # @return [::Array<::Google::Cloud::Run::V2::EnvVar>] # List of environment variables to set in the container. Will be merged # with existing env for override. # @!attribute [rw] clear_args # @return [::Boolean] # Optional. True if the intention is to clear out existing args list. class ContainerOverride include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |
#validate_only ⇒ ::Boolean
Returns Indicates that the request should be validated without actually deleting any resources.
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
# File 'proto_docs/google/cloud/run/v2/job.rb', line 146 class RunJobRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # RunJob Overrides that contains Execution fields to be overridden. # @!attribute [rw] container_overrides # @return [::Array<::Google::Cloud::Run::V2::RunJobRequest::Overrides::ContainerOverride>] # Per container override specification. # @!attribute [rw] task_count # @return [::Integer] # Optional. The desired number of tasks the execution should run. Will # replace existing task_count value. # @!attribute [rw] timeout # @return [::Google::Protobuf::Duration] # Duration in seconds the task may be active before the system will # actively try to mark it failed and kill associated containers. Will # replace existing timeout_seconds value. class Overrides include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Per-container override specification. # @!attribute [rw] name # @return [::String] # The name of the container specified as a DNS_LABEL. # @!attribute [rw] args # @return [::Array<::String>] # Optional. Arguments to the entrypoint. Will replace existing args for # override. # @!attribute [rw] env # @return [::Array<::Google::Cloud::Run::V2::EnvVar>] # List of environment variables to set in the container. Will be merged # with existing env for override. # @!attribute [rw] clear_args # @return [::Boolean] # Optional. True if the intention is to clear out existing args list. class ContainerOverride include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |