1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Bigquery;
19
20class JobConfiguration extends \Google\Model
21{
22  protected $copyType = JobConfigurationTableCopy::class;
23  protected $copyDataType = '';
24  /**
25   * @var bool
26   */
27  public $dryRun;
28  protected $extractType = JobConfigurationExtract::class;
29  protected $extractDataType = '';
30  /**
31   * @var string
32   */
33  public $jobTimeoutMs;
34  /**
35   * @var string
36   */
37  public $jobType;
38  /**
39   * @var string[]
40   */
41  public $labels;
42  protected $loadType = JobConfigurationLoad::class;
43  protected $loadDataType = '';
44  protected $queryType = JobConfigurationQuery::class;
45  protected $queryDataType = '';
46
47  /**
48   * @param JobConfigurationTableCopy
49   */
50  public function setCopy(JobConfigurationTableCopy $copy)
51  {
52    $this->copy = $copy;
53  }
54  /**
55   * @return JobConfigurationTableCopy
56   */
57  public function getCopy()
58  {
59    return $this->copy;
60  }
61  /**
62   * @param bool
63   */
64  public function setDryRun($dryRun)
65  {
66    $this->dryRun = $dryRun;
67  }
68  /**
69   * @return bool
70   */
71  public function getDryRun()
72  {
73    return $this->dryRun;
74  }
75  /**
76   * @param JobConfigurationExtract
77   */
78  public function setExtract(JobConfigurationExtract $extract)
79  {
80    $this->extract = $extract;
81  }
82  /**
83   * @return JobConfigurationExtract
84   */
85  public function getExtract()
86  {
87    return $this->extract;
88  }
89  /**
90   * @param string
91   */
92  public function setJobTimeoutMs($jobTimeoutMs)
93  {
94    $this->jobTimeoutMs = $jobTimeoutMs;
95  }
96  /**
97   * @return string
98   */
99  public function getJobTimeoutMs()
100  {
101    return $this->jobTimeoutMs;
102  }
103  /**
104   * @param string
105   */
106  public function setJobType($jobType)
107  {
108    $this->jobType = $jobType;
109  }
110  /**
111   * @return string
112   */
113  public function getJobType()
114  {
115    return $this->jobType;
116  }
117  /**
118   * @param string[]
119   */
120  public function setLabels($labels)
121  {
122    $this->labels = $labels;
123  }
124  /**
125   * @return string[]
126   */
127  public function getLabels()
128  {
129    return $this->labels;
130  }
131  /**
132   * @param JobConfigurationLoad
133   */
134  public function setLoad(JobConfigurationLoad $load)
135  {
136    $this->load = $load;
137  }
138  /**
139   * @return JobConfigurationLoad
140   */
141  public function getLoad()
142  {
143    return $this->load;
144  }
145  /**
146   * @param JobConfigurationQuery
147   */
148  public function setQuery(JobConfigurationQuery $query)
149  {
150    $this->query = $query;
151  }
152  /**
153   * @return JobConfigurationQuery
154   */
155  public function getQuery()
156  {
157    return $this->query;
158  }
159}
160
161// Adding a class alias for backwards compatibility with the previous class name.
162class_alias(JobConfiguration::class, 'Google_Service_Bigquery_JobConfiguration');
163