@@ -24,8 +24,8 @@ public class CreateJobRunOptions extends GenericModel {
2424
2525 /**
2626 * The mode for runs of the job. Valid values are `task` and `daemon`. In `task` mode, the `max_execution_time` and
27- * `retry_limit` options apply. In `daemon` mode, since there is no timeout and failed instances are restarted
28- * indefinitely, the `max_execution_time` and `retry_limit` options are not allowed.
27+ * `retry_limit` properties apply. In `daemon` mode, since there is no timeout and failed instances are restarted
28+ * indefinitely, the `max_execution_time` and `retry_limit` properties are not allowed.
2929 */
3030 public interface RunMode {
3131 /** task. */
@@ -36,7 +36,7 @@ public interface RunMode {
3636
3737 /**
3838 * The name of the service account. For built-in service accounts, you can use the shortened names `manager`, `none`,
39- * `reader`, and `writer`.
39+ * `reader`, and `writer`. This property must not be set on a job run, which references a job template.
4040 */
4141 public interface RunServiceAccount {
4242 /** default. */
@@ -475,7 +475,7 @@ public String imageReference() {
475475 * The name of the image registry access secret. The image registry access secret is used to authenticate with a
476476 * private registry when you download the container image. If the image reference points to a registry that requires
477477 * authentication, the job / job runs will be created but submitted job runs will fail, until this property is
478- * provided, too.
478+ * provided, too. This property must not be set on a job run, which references a job template.
479479 *
480480 * @return the imageSecret
481481 */
@@ -556,8 +556,8 @@ public List<EnvVarPrototype> runEnvVariables() {
556556 * Gets the runMode.
557557 *
558558 * The mode for runs of the job. Valid values are `task` and `daemon`. In `task` mode, the `max_execution_time` and
559- * `retry_limit` options apply. In `daemon` mode, since there is no timeout and failed instances are restarted
560- * indefinitely, the `max_execution_time` and `retry_limit` options are not allowed.
559+ * `retry_limit` properties apply. In `daemon` mode, since there is no timeout and failed instances are restarted
560+ * indefinitely, the `max_execution_time` and `retry_limit` properties are not allowed.
561561 *
562562 * @return the runMode
563563 */
@@ -569,7 +569,7 @@ public String runMode() {
569569 * Gets the runServiceAccount.
570570 *
571571 * The name of the service account. For built-in service accounts, you can use the shortened names `manager`, `none`,
572- * `reader`, and `writer`.
572+ * `reader`, and `writer`. This property must not be set on a job run, which references a job template.
573573 *
574574 * @return the runServiceAccount
575575 */
@@ -630,7 +630,8 @@ public String scaleEphemeralStorageLimit() {
630630 /**
631631 * Gets the scaleMaxExecutionTime.
632632 *
633- * The maximum execution time in seconds for runs of the job. This option can only be specified if `mode` is `task`.
633+ * The maximum execution time in seconds for runs of the job. This property can only be specified if `run_mode` is
634+ * `task`.
634635 *
635636 * @return the scaleMaxExecutionTime
636637 */
@@ -656,8 +657,8 @@ public String scaleMemoryLimit() {
656657 /**
657658 * Gets the scaleRetryLimit.
658659 *
659- * The number of times to rerun an instance of the job before the job is marked as failed. This option can only be
660- * specified if `mode ` is `task`.
660+ * The number of times to rerun an instance of the job before the job is marked as failed. This property can only be
661+ * specified if `run_mode ` is `task`.
661662 *
662663 * @return the scaleRetryLimit
663664 */
0 commit comments