@@ -39,6 +39,10 @@ class Job extends \Google\Collection
3939 * Terminated due to an unrecoverable failure.
4040 */
4141 public const STATE_FAILED = 'FAILED ' ;
42+ /**
43+ * Queued but not yet started.
44+ */
45+ public const STATE_QUEUED = 'QUEUED ' ;
4246 protected $ collection_key = 'errorSummaries ' ;
4347 protected $ bucketListType = BucketList::class;
4448 protected $ bucketListDataType = '' ;
@@ -75,6 +79,13 @@ class Job extends \Google\Collection
7579 public $ dryRun ;
7680 protected $ errorSummariesType = ErrorSummary::class;
7781 protected $ errorSummariesDataType = 'array ' ;
82+ /**
83+ * Output only. If true, this Job operates on multiple buckets. Multibucket
84+ * jobs are subject to different quota limits than single-bucket jobs.
85+ *
86+ * @var bool
87+ */
88+ public $ isMultiBucketJob ;
7889 protected $ loggingConfigType = LoggingConfig::class;
7990 protected $ loggingConfigDataType = '' ;
8091 /**
@@ -236,6 +247,23 @@ public function getErrorSummaries()
236247 {
237248 return $ this ->errorSummaries ;
238249 }
250+ /**
251+ * Output only. If true, this Job operates on multiple buckets. Multibucket
252+ * jobs are subject to different quota limits than single-bucket jobs.
253+ *
254+ * @param bool $isMultiBucketJob
255+ */
256+ public function setIsMultiBucketJob ($ isMultiBucketJob )
257+ {
258+ $ this ->isMultiBucketJob = $ isMultiBucketJob ;
259+ }
260+ /**
261+ * @return bool
262+ */
263+ public function getIsMultiBucketJob ()
264+ {
265+ return $ this ->isMultiBucketJob ;
266+ }
239267 /**
240268 * Optional. Logging configuration.
241269 *
@@ -340,7 +368,8 @@ public function getScheduleTime()
340368 /**
341369 * Output only. State of the job.
342370 *
343- * Accepted values: STATE_UNSPECIFIED, RUNNING, SUCCEEDED, CANCELED, FAILED
371+ * Accepted values: STATE_UNSPECIFIED, RUNNING, SUCCEEDED, CANCELED, FAILED,
372+ * QUEUED
344373 *
345374 * @param self::STATE_* $state
346375 */
0 commit comments