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\CloudDataplex;
|
---|
19 |
|
---|
20 | class GoogleCloudDataplexV1DataAttribute extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var int
|
---|
24 | */
|
---|
25 | public $attributeCount;
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $createTime;
|
---|
30 | protected $dataAccessSpecType = GoogleCloudDataplexV1DataAccessSpec::class;
|
---|
31 | protected $dataAccessSpecDataType = '';
|
---|
32 | /**
|
---|
33 | * @var string
|
---|
34 | */
|
---|
35 | public $description;
|
---|
36 | /**
|
---|
37 | * @var string
|
---|
38 | */
|
---|
39 | public $displayName;
|
---|
40 | /**
|
---|
41 | * @var string
|
---|
42 | */
|
---|
43 | public $etag;
|
---|
44 | /**
|
---|
45 | * @var string[]
|
---|
46 | */
|
---|
47 | public $labels;
|
---|
48 | /**
|
---|
49 | * @var string
|
---|
50 | */
|
---|
51 | public $name;
|
---|
52 | /**
|
---|
53 | * @var string
|
---|
54 | */
|
---|
55 | public $parentId;
|
---|
56 | protected $resourceAccessSpecType = GoogleCloudDataplexV1ResourceAccessSpec::class;
|
---|
57 | protected $resourceAccessSpecDataType = '';
|
---|
58 | /**
|
---|
59 | * @var string
|
---|
60 | */
|
---|
61 | public $uid;
|
---|
62 | /**
|
---|
63 | * @var string
|
---|
64 | */
|
---|
65 | public $updateTime;
|
---|
66 |
|
---|
67 | /**
|
---|
68 | * @param int
|
---|
69 | */
|
---|
70 | public function setAttributeCount($attributeCount)
|
---|
71 | {
|
---|
72 | $this->attributeCount = $attributeCount;
|
---|
73 | }
|
---|
74 | /**
|
---|
75 | * @return int
|
---|
76 | */
|
---|
77 | public function getAttributeCount()
|
---|
78 | {
|
---|
79 | return $this->attributeCount;
|
---|
80 | }
|
---|
81 | /**
|
---|
82 | * @param string
|
---|
83 | */
|
---|
84 | public function setCreateTime($createTime)
|
---|
85 | {
|
---|
86 | $this->createTime = $createTime;
|
---|
87 | }
|
---|
88 | /**
|
---|
89 | * @return string
|
---|
90 | */
|
---|
91 | public function getCreateTime()
|
---|
92 | {
|
---|
93 | return $this->createTime;
|
---|
94 | }
|
---|
95 | /**
|
---|
96 | * @param GoogleCloudDataplexV1DataAccessSpec
|
---|
97 | */
|
---|
98 | public function setDataAccessSpec(GoogleCloudDataplexV1DataAccessSpec $dataAccessSpec)
|
---|
99 | {
|
---|
100 | $this->dataAccessSpec = $dataAccessSpec;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @return GoogleCloudDataplexV1DataAccessSpec
|
---|
104 | */
|
---|
105 | public function getDataAccessSpec()
|
---|
106 | {
|
---|
107 | return $this->dataAccessSpec;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @param string
|
---|
111 | */
|
---|
112 | public function setDescription($description)
|
---|
113 | {
|
---|
114 | $this->description = $description;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @return string
|
---|
118 | */
|
---|
119 | public function getDescription()
|
---|
120 | {
|
---|
121 | return $this->description;
|
---|
122 | }
|
---|
123 | /**
|
---|
124 | * @param string
|
---|
125 | */
|
---|
126 | public function setDisplayName($displayName)
|
---|
127 | {
|
---|
128 | $this->displayName = $displayName;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @return string
|
---|
132 | */
|
---|
133 | public function getDisplayName()
|
---|
134 | {
|
---|
135 | return $this->displayName;
|
---|
136 | }
|
---|
137 | /**
|
---|
138 | * @param string
|
---|
139 | */
|
---|
140 | public function setEtag($etag)
|
---|
141 | {
|
---|
142 | $this->etag = $etag;
|
---|
143 | }
|
---|
144 | /**
|
---|
145 | * @return string
|
---|
146 | */
|
---|
147 | public function getEtag()
|
---|
148 | {
|
---|
149 | return $this->etag;
|
---|
150 | }
|
---|
151 | /**
|
---|
152 | * @param string[]
|
---|
153 | */
|
---|
154 | public function setLabels($labels)
|
---|
155 | {
|
---|
156 | $this->labels = $labels;
|
---|
157 | }
|
---|
158 | /**
|
---|
159 | * @return string[]
|
---|
160 | */
|
---|
161 | public function getLabels()
|
---|
162 | {
|
---|
163 | return $this->labels;
|
---|
164 | }
|
---|
165 | /**
|
---|
166 | * @param string
|
---|
167 | */
|
---|
168 | public function setName($name)
|
---|
169 | {
|
---|
170 | $this->name = $name;
|
---|
171 | }
|
---|
172 | /**
|
---|
173 | * @return string
|
---|
174 | */
|
---|
175 | public function getName()
|
---|
176 | {
|
---|
177 | return $this->name;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @param string
|
---|
181 | */
|
---|
182 | public function setParentId($parentId)
|
---|
183 | {
|
---|
184 | $this->parentId = $parentId;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @return string
|
---|
188 | */
|
---|
189 | public function getParentId()
|
---|
190 | {
|
---|
191 | return $this->parentId;
|
---|
192 | }
|
---|
193 | /**
|
---|
194 | * @param GoogleCloudDataplexV1ResourceAccessSpec
|
---|
195 | */
|
---|
196 | public function setResourceAccessSpec(GoogleCloudDataplexV1ResourceAccessSpec $resourceAccessSpec)
|
---|
197 | {
|
---|
198 | $this->resourceAccessSpec = $resourceAccessSpec;
|
---|
199 | }
|
---|
200 | /**
|
---|
201 | * @return GoogleCloudDataplexV1ResourceAccessSpec
|
---|
202 | */
|
---|
203 | public function getResourceAccessSpec()
|
---|
204 | {
|
---|
205 | return $this->resourceAccessSpec;
|
---|
206 | }
|
---|
207 | /**
|
---|
208 | * @param string
|
---|
209 | */
|
---|
210 | public function setUid($uid)
|
---|
211 | {
|
---|
212 | $this->uid = $uid;
|
---|
213 | }
|
---|
214 | /**
|
---|
215 | * @return string
|
---|
216 | */
|
---|
217 | public function getUid()
|
---|
218 | {
|
---|
219 | return $this->uid;
|
---|
220 | }
|
---|
221 | /**
|
---|
222 | * @param string
|
---|
223 | */
|
---|
224 | public function setUpdateTime($updateTime)
|
---|
225 | {
|
---|
226 | $this->updateTime = $updateTime;
|
---|
227 | }
|
---|
228 | /**
|
---|
229 | * @return string
|
---|
230 | */
|
---|
231 | public function getUpdateTime()
|
---|
232 | {
|
---|
233 | return $this->updateTime;
|
---|
234 | }
|
---|
235 | }
|
---|
236 |
|
---|
237 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
238 | class_alias(GoogleCloudDataplexV1DataAttribute::class, 'Google_Service_CloudDataplex_GoogleCloudDataplexV1DataAttribute');
|
---|