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 JobConfigurationTableCopy extends \Google\Collection
21{
22  protected $collection_key = 'sourceTables';
23  /**
24   * @var string
25   */
26  public $createDisposition;
27  protected $destinationEncryptionConfigurationType = EncryptionConfiguration::class;
28  protected $destinationEncryptionConfigurationDataType = '';
29  /**
30   * @var array
31   */
32  public $destinationExpirationTime;
33  protected $destinationTableType = TableReference::class;
34  protected $destinationTableDataType = '';
35  /**
36   * @var string
37   */
38  public $operationType;
39  protected $sourceTableType = TableReference::class;
40  protected $sourceTableDataType = '';
41  protected $sourceTablesType = TableReference::class;
42  protected $sourceTablesDataType = 'array';
43  /**
44   * @var string
45   */
46  public $writeDisposition;
47
48  /**
49   * @param string
50   */
51  public function setCreateDisposition($createDisposition)
52  {
53    $this->createDisposition = $createDisposition;
54  }
55  /**
56   * @return string
57   */
58  public function getCreateDisposition()
59  {
60    return $this->createDisposition;
61  }
62  /**
63   * @param EncryptionConfiguration
64   */
65  public function setDestinationEncryptionConfiguration(EncryptionConfiguration $destinationEncryptionConfiguration)
66  {
67    $this->destinationEncryptionConfiguration = $destinationEncryptionConfiguration;
68  }
69  /**
70   * @return EncryptionConfiguration
71   */
72  public function getDestinationEncryptionConfiguration()
73  {
74    return $this->destinationEncryptionConfiguration;
75  }
76  /**
77   * @param array
78   */
79  public function setDestinationExpirationTime($destinationExpirationTime)
80  {
81    $this->destinationExpirationTime = $destinationExpirationTime;
82  }
83  /**
84   * @return array
85   */
86  public function getDestinationExpirationTime()
87  {
88    return $this->destinationExpirationTime;
89  }
90  /**
91   * @param TableReference
92   */
93  public function setDestinationTable(TableReference $destinationTable)
94  {
95    $this->destinationTable = $destinationTable;
96  }
97  /**
98   * @return TableReference
99   */
100  public function getDestinationTable()
101  {
102    return $this->destinationTable;
103  }
104  /**
105   * @param string
106   */
107  public function setOperationType($operationType)
108  {
109    $this->operationType = $operationType;
110  }
111  /**
112   * @return string
113   */
114  public function getOperationType()
115  {
116    return $this->operationType;
117  }
118  /**
119   * @param TableReference
120   */
121  public function setSourceTable(TableReference $sourceTable)
122  {
123    $this->sourceTable = $sourceTable;
124  }
125  /**
126   * @return TableReference
127   */
128  public function getSourceTable()
129  {
130    return $this->sourceTable;
131  }
132  /**
133   * @param TableReference[]
134   */
135  public function setSourceTables($sourceTables)
136  {
137    $this->sourceTables = $sourceTables;
138  }
139  /**
140   * @return TableReference[]
141   */
142  public function getSourceTables()
143  {
144    return $this->sourceTables;
145  }
146  /**
147   * @param string
148   */
149  public function setWriteDisposition($writeDisposition)
150  {
151    $this->writeDisposition = $writeDisposition;
152  }
153  /**
154   * @return string
155   */
156  public function getWriteDisposition()
157  {
158    return $this->writeDisposition;
159  }
160}
161
162// Adding a class alias for backwards compatibility with the previous class name.
163class_alias(JobConfigurationTableCopy::class, 'Google_Service_Bigquery_JobConfigurationTableCopy');
164