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\DataCatalog;
19
20class GoogleCloudDatacatalogV1beta1ColumnSchema extends \Google\Collection
21{
22  protected $collection_key = 'subcolumns';
23  public $column;
24  public $description;
25  public $mode;
26  protected $subcolumnsType = GoogleCloudDatacatalogV1beta1ColumnSchema::class;
27  protected $subcolumnsDataType = 'array';
28  public $type;
29
30  public function setColumn($column)
31  {
32    $this->column = $column;
33  }
34  public function getColumn()
35  {
36    return $this->column;
37  }
38  public function setDescription($description)
39  {
40    $this->description = $description;
41  }
42  public function getDescription()
43  {
44    return $this->description;
45  }
46  public function setMode($mode)
47  {
48    $this->mode = $mode;
49  }
50  public function getMode()
51  {
52    return $this->mode;
53  }
54  /**
55   * @param GoogleCloudDatacatalogV1beta1ColumnSchema[]
56   */
57  public function setSubcolumns($subcolumns)
58  {
59    $this->subcolumns = $subcolumns;
60  }
61  /**
62   * @return GoogleCloudDatacatalogV1beta1ColumnSchema[]
63   */
64  public function getSubcolumns()
65  {
66    return $this->subcolumns;
67  }
68  public function setType($type)
69  {
70    $this->type = $type;
71  }
72  public function getType()
73  {
74    return $this->type;
75  }
76}
77
78// Adding a class alias for backwards compatibility with the previous class name.
79class_alias(GoogleCloudDatacatalogV1beta1ColumnSchema::class, 'Google_Service_DataCatalog_GoogleCloudDatacatalogV1beta1ColumnSchema');
80