Class: Google::Cloud::Run::V2::RunJobRequest::Overrides

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/run/v2/job.rb

Overview

RunJob Overrides that contains Execution fields to be overridden.

Defined Under Namespace

Classes: ContainerOverride

Instance Attribute Summary collapse

Instance Attribute Details

#container_overrides::Array<::Google::Cloud::Run::V2::RunJobRequest::Overrides::ContainerOverride>

Returns Per container override specification.

Returns:



163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
# File 'proto_docs/google/cloud/run/v2/job.rb', line 163

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

#task_count::Integer

Returns Optional. The desired number of tasks the execution should run. Will replace existing task_count value.

Returns:

  • (::Integer)

    Optional. The desired number of tasks the execution should run. Will replace existing task_count value.



163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
# File 'proto_docs/google/cloud/run/v2/job.rb', line 163

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

#timeout::Google::Protobuf::Duration

Returns 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.

Returns:

  • (::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.



163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
# File 'proto_docs/google/cloud/run/v2/job.rb', line 163

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