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