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 |
|
---|
18 | namespace Google\Service\DataCatalog;
|
---|
19 |
|
---|
20 | class GoogleCloudDatacatalogV1ColumnSchema extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'subcolumns';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $column;
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $defaultValue;
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $description;
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $gcRule;
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $highestIndexingType;
|
---|
43 | protected $lookerColumnSpecType = GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec::class;
|
---|
44 | protected $lookerColumnSpecDataType = '';
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $mode;
|
---|
49 | /**
|
---|
50 | * @var int
|
---|
51 | */
|
---|
52 | public $ordinalPosition;
|
---|
53 | protected $rangeElementTypeType = GoogleCloudDatacatalogV1ColumnSchemaFieldElementType::class;
|
---|
54 | protected $rangeElementTypeDataType = '';
|
---|
55 | protected $subcolumnsType = GoogleCloudDatacatalogV1ColumnSchema::class;
|
---|
56 | protected $subcolumnsDataType = 'array';
|
---|
57 | /**
|
---|
58 | * @var string
|
---|
59 | */
|
---|
60 | public $type;
|
---|
61 |
|
---|
62 | /**
|
---|
63 | * @param string
|
---|
64 | */
|
---|
65 | public function setColumn($column)
|
---|
66 | {
|
---|
67 | $this->column = $column;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @return string
|
---|
71 | */
|
---|
72 | public function getColumn()
|
---|
73 | {
|
---|
74 | return $this->column;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @param string
|
---|
78 | */
|
---|
79 | public function setDefaultValue($defaultValue)
|
---|
80 | {
|
---|
81 | $this->defaultValue = $defaultValue;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @return string
|
---|
85 | */
|
---|
86 | public function getDefaultValue()
|
---|
87 | {
|
---|
88 | return $this->defaultValue;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @param string
|
---|
92 | */
|
---|
93 | public function setDescription($description)
|
---|
94 | {
|
---|
95 | $this->description = $description;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @return string
|
---|
99 | */
|
---|
100 | public function getDescription()
|
---|
101 | {
|
---|
102 | return $this->description;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @param string
|
---|
106 | */
|
---|
107 | public function setGcRule($gcRule)
|
---|
108 | {
|
---|
109 | $this->gcRule = $gcRule;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @return string
|
---|
113 | */
|
---|
114 | public function getGcRule()
|
---|
115 | {
|
---|
116 | return $this->gcRule;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @param string
|
---|
120 | */
|
---|
121 | public function setHighestIndexingType($highestIndexingType)
|
---|
122 | {
|
---|
123 | $this->highestIndexingType = $highestIndexingType;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @return string
|
---|
127 | */
|
---|
128 | public function getHighestIndexingType()
|
---|
129 | {
|
---|
130 | return $this->highestIndexingType;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @param GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec
|
---|
134 | */
|
---|
135 | public function setLookerColumnSpec(GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec $lookerColumnSpec)
|
---|
136 | {
|
---|
137 | $this->lookerColumnSpec = $lookerColumnSpec;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @return GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec
|
---|
141 | */
|
---|
142 | public function getLookerColumnSpec()
|
---|
143 | {
|
---|
144 | return $this->lookerColumnSpec;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @param string
|
---|
148 | */
|
---|
149 | public function setMode($mode)
|
---|
150 | {
|
---|
151 | $this->mode = $mode;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @return string
|
---|
155 | */
|
---|
156 | public function getMode()
|
---|
157 | {
|
---|
158 | return $this->mode;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @param int
|
---|
162 | */
|
---|
163 | public function setOrdinalPosition($ordinalPosition)
|
---|
164 | {
|
---|
165 | $this->ordinalPosition = $ordinalPosition;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @return int
|
---|
169 | */
|
---|
170 | public function getOrdinalPosition()
|
---|
171 | {
|
---|
172 | return $this->ordinalPosition;
|
---|
173 | }
|
---|
174 | /**
|
---|
175 | * @param GoogleCloudDatacatalogV1ColumnSchemaFieldElementType
|
---|
176 | */
|
---|
177 | public function setRangeElementType(GoogleCloudDatacatalogV1ColumnSchemaFieldElementType $rangeElementType)
|
---|
178 | {
|
---|
179 | $this->rangeElementType = $rangeElementType;
|
---|
180 | }
|
---|
181 | /**
|
---|
182 | * @return GoogleCloudDatacatalogV1ColumnSchemaFieldElementType
|
---|
183 | */
|
---|
184 | public function getRangeElementType()
|
---|
185 | {
|
---|
186 | return $this->rangeElementType;
|
---|
187 | }
|
---|
188 | /**
|
---|
189 | * @param GoogleCloudDatacatalogV1ColumnSchema[]
|
---|
190 | */
|
---|
191 | public function setSubcolumns($subcolumns)
|
---|
192 | {
|
---|
193 | $this->subcolumns = $subcolumns;
|
---|
194 | }
|
---|
195 | /**
|
---|
196 | * @return GoogleCloudDatacatalogV1ColumnSchema[]
|
---|
197 | */
|
---|
198 | public function getSubcolumns()
|
---|
199 | {
|
---|
200 | return $this->subcolumns;
|
---|
201 | }
|
---|
202 | /**
|
---|
203 | * @param string
|
---|
204 | */
|
---|
205 | public function setType($type)
|
---|
206 | {
|
---|
207 | $this->type = $type;
|
---|
208 | }
|
---|
209 | /**
|
---|
210 | * @return string
|
---|
211 | */
|
---|
212 | public function getType()
|
---|
213 | {
|
---|
214 | return $this->type;
|
---|
215 | }
|
---|
216 | }
|
---|
217 |
|
---|
218 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
219 | class_alias(GoogleCloudDatacatalogV1ColumnSchema::class, 'Google_Service_DataCatalog_GoogleCloudDatacatalogV1ColumnSchema');
|
---|