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 GoogleCloudDataplexV1DiscoveryEvent extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $actionType = GoogleCloudDataplexV1DiscoveryEventActionDetails::class;
|
---|
23 | protected $actionDataType = '';
|
---|
24 | /**
|
---|
25 | * @var string
|
---|
26 | */
|
---|
27 | public $assetId;
|
---|
28 | protected $configType = GoogleCloudDataplexV1DiscoveryEventConfigDetails::class;
|
---|
29 | protected $configDataType = '';
|
---|
30 | /**
|
---|
31 | * @var string
|
---|
32 | */
|
---|
33 | public $dataLocation;
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $datascanId;
|
---|
38 | protected $entityType = GoogleCloudDataplexV1DiscoveryEventEntityDetails::class;
|
---|
39 | protected $entityDataType = '';
|
---|
40 | /**
|
---|
41 | * @var string
|
---|
42 | */
|
---|
43 | public $lakeId;
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $message;
|
---|
48 | protected $partitionType = GoogleCloudDataplexV1DiscoveryEventPartitionDetails::class;
|
---|
49 | protected $partitionDataType = '';
|
---|
50 | protected $tableType = GoogleCloudDataplexV1DiscoveryEventTableDetails::class;
|
---|
51 | protected $tableDataType = '';
|
---|
52 | /**
|
---|
53 | * @var string
|
---|
54 | */
|
---|
55 | public $type;
|
---|
56 | /**
|
---|
57 | * @var string
|
---|
58 | */
|
---|
59 | public $zoneId;
|
---|
60 |
|
---|
61 | /**
|
---|
62 | * @param GoogleCloudDataplexV1DiscoveryEventActionDetails
|
---|
63 | */
|
---|
64 | public function setAction(GoogleCloudDataplexV1DiscoveryEventActionDetails $action)
|
---|
65 | {
|
---|
66 | $this->action = $action;
|
---|
67 | }
|
---|
68 | /**
|
---|
69 | * @return GoogleCloudDataplexV1DiscoveryEventActionDetails
|
---|
70 | */
|
---|
71 | public function getAction()
|
---|
72 | {
|
---|
73 | return $this->action;
|
---|
74 | }
|
---|
75 | /**
|
---|
76 | * @param string
|
---|
77 | */
|
---|
78 | public function setAssetId($assetId)
|
---|
79 | {
|
---|
80 | $this->assetId = $assetId;
|
---|
81 | }
|
---|
82 | /**
|
---|
83 | * @return string
|
---|
84 | */
|
---|
85 | public function getAssetId()
|
---|
86 | {
|
---|
87 | return $this->assetId;
|
---|
88 | }
|
---|
89 | /**
|
---|
90 | * @param GoogleCloudDataplexV1DiscoveryEventConfigDetails
|
---|
91 | */
|
---|
92 | public function setConfig(GoogleCloudDataplexV1DiscoveryEventConfigDetails $config)
|
---|
93 | {
|
---|
94 | $this->config = $config;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @return GoogleCloudDataplexV1DiscoveryEventConfigDetails
|
---|
98 | */
|
---|
99 | public function getConfig()
|
---|
100 | {
|
---|
101 | return $this->config;
|
---|
102 | }
|
---|
103 | /**
|
---|
104 | * @param string
|
---|
105 | */
|
---|
106 | public function setDataLocation($dataLocation)
|
---|
107 | {
|
---|
108 | $this->dataLocation = $dataLocation;
|
---|
109 | }
|
---|
110 | /**
|
---|
111 | * @return string
|
---|
112 | */
|
---|
113 | public function getDataLocation()
|
---|
114 | {
|
---|
115 | return $this->dataLocation;
|
---|
116 | }
|
---|
117 | /**
|
---|
118 | * @param string
|
---|
119 | */
|
---|
120 | public function setDatascanId($datascanId)
|
---|
121 | {
|
---|
122 | $this->datascanId = $datascanId;
|
---|
123 | }
|
---|
124 | /**
|
---|
125 | * @return string
|
---|
126 | */
|
---|
127 | public function getDatascanId()
|
---|
128 | {
|
---|
129 | return $this->datascanId;
|
---|
130 | }
|
---|
131 | /**
|
---|
132 | * @param GoogleCloudDataplexV1DiscoveryEventEntityDetails
|
---|
133 | */
|
---|
134 | public function setEntity(GoogleCloudDataplexV1DiscoveryEventEntityDetails $entity)
|
---|
135 | {
|
---|
136 | $this->entity = $entity;
|
---|
137 | }
|
---|
138 | /**
|
---|
139 | * @return GoogleCloudDataplexV1DiscoveryEventEntityDetails
|
---|
140 | */
|
---|
141 | public function getEntity()
|
---|
142 | {
|
---|
143 | return $this->entity;
|
---|
144 | }
|
---|
145 | /**
|
---|
146 | * @param string
|
---|
147 | */
|
---|
148 | public function setLakeId($lakeId)
|
---|
149 | {
|
---|
150 | $this->lakeId = $lakeId;
|
---|
151 | }
|
---|
152 | /**
|
---|
153 | * @return string
|
---|
154 | */
|
---|
155 | public function getLakeId()
|
---|
156 | {
|
---|
157 | return $this->lakeId;
|
---|
158 | }
|
---|
159 | /**
|
---|
160 | * @param string
|
---|
161 | */
|
---|
162 | public function setMessage($message)
|
---|
163 | {
|
---|
164 | $this->message = $message;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @return string
|
---|
168 | */
|
---|
169 | public function getMessage()
|
---|
170 | {
|
---|
171 | return $this->message;
|
---|
172 | }
|
---|
173 | /**
|
---|
174 | * @param GoogleCloudDataplexV1DiscoveryEventPartitionDetails
|
---|
175 | */
|
---|
176 | public function setPartition(GoogleCloudDataplexV1DiscoveryEventPartitionDetails $partition)
|
---|
177 | {
|
---|
178 | $this->partition = $partition;
|
---|
179 | }
|
---|
180 | /**
|
---|
181 | * @return GoogleCloudDataplexV1DiscoveryEventPartitionDetails
|
---|
182 | */
|
---|
183 | public function getPartition()
|
---|
184 | {
|
---|
185 | return $this->partition;
|
---|
186 | }
|
---|
187 | /**
|
---|
188 | * @param GoogleCloudDataplexV1DiscoveryEventTableDetails
|
---|
189 | */
|
---|
190 | public function setTable(GoogleCloudDataplexV1DiscoveryEventTableDetails $table)
|
---|
191 | {
|
---|
192 | $this->table = $table;
|
---|
193 | }
|
---|
194 | /**
|
---|
195 | * @return GoogleCloudDataplexV1DiscoveryEventTableDetails
|
---|
196 | */
|
---|
197 | public function getTable()
|
---|
198 | {
|
---|
199 | return $this->table;
|
---|
200 | }
|
---|
201 | /**
|
---|
202 | * @param string
|
---|
203 | */
|
---|
204 | public function setType($type)
|
---|
205 | {
|
---|
206 | $this->type = $type;
|
---|
207 | }
|
---|
208 | /**
|
---|
209 | * @return string
|
---|
210 | */
|
---|
211 | public function getType()
|
---|
212 | {
|
---|
213 | return $this->type;
|
---|
214 | }
|
---|
215 | /**
|
---|
216 | * @param string
|
---|
217 | */
|
---|
218 | public function setZoneId($zoneId)
|
---|
219 | {
|
---|
220 | $this->zoneId = $zoneId;
|
---|
221 | }
|
---|
222 | /**
|
---|
223 | * @return string
|
---|
224 | */
|
---|
225 | public function getZoneId()
|
---|
226 | {
|
---|
227 | return $this->zoneId;
|
---|
228 | }
|
---|
229 | }
|
---|
230 |
|
---|
231 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
232 | class_alias(GoogleCloudDataplexV1DiscoveryEvent::class, 'Google_Service_CloudDataplex_GoogleCloudDataplexV1DiscoveryEvent');
|
---|