GoogleCloudDataplexV1Action.php 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  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. namespace Google\Service\CloudDataplex;
  18. class GoogleCloudDataplexV1Action extends \Google\Collection
  19. {
  20. protected $collection_key = 'dataLocations';
  21. /**
  22. * @var string
  23. */
  24. public $asset;
  25. /**
  26. * @var string
  27. */
  28. public $category;
  29. /**
  30. * @var string[]
  31. */
  32. public $dataLocations;
  33. /**
  34. * @var string
  35. */
  36. public $detectTime;
  37. protected $failedSecurityPolicyApplyType = GoogleCloudDataplexV1ActionFailedSecurityPolicyApply::class;
  38. protected $failedSecurityPolicyApplyDataType = '';
  39. protected $incompatibleDataSchemaType = GoogleCloudDataplexV1ActionIncompatibleDataSchema::class;
  40. protected $incompatibleDataSchemaDataType = '';
  41. protected $invalidDataFormatType = GoogleCloudDataplexV1ActionInvalidDataFormat::class;
  42. protected $invalidDataFormatDataType = '';
  43. protected $invalidDataOrganizationType = GoogleCloudDataplexV1ActionInvalidDataOrganization::class;
  44. protected $invalidDataOrganizationDataType = '';
  45. protected $invalidDataPartitionType = GoogleCloudDataplexV1ActionInvalidDataPartition::class;
  46. protected $invalidDataPartitionDataType = '';
  47. /**
  48. * @var string
  49. */
  50. public $issue;
  51. /**
  52. * @var string
  53. */
  54. public $lake;
  55. protected $missingDataType = GoogleCloudDataplexV1ActionMissingData::class;
  56. protected $missingDataDataType = '';
  57. protected $missingResourceType = GoogleCloudDataplexV1ActionMissingResource::class;
  58. protected $missingResourceDataType = '';
  59. /**
  60. * @var string
  61. */
  62. public $name;
  63. protected $unauthorizedResourceType = GoogleCloudDataplexV1ActionUnauthorizedResource::class;
  64. protected $unauthorizedResourceDataType = '';
  65. /**
  66. * @var string
  67. */
  68. public $zone;
  69. /**
  70. * @param string
  71. */
  72. public function setAsset($asset)
  73. {
  74. $this->asset = $asset;
  75. }
  76. /**
  77. * @return string
  78. */
  79. public function getAsset()
  80. {
  81. return $this->asset;
  82. }
  83. /**
  84. * @param string
  85. */
  86. public function setCategory($category)
  87. {
  88. $this->category = $category;
  89. }
  90. /**
  91. * @return string
  92. */
  93. public function getCategory()
  94. {
  95. return $this->category;
  96. }
  97. /**
  98. * @param string[]
  99. */
  100. public function setDataLocations($dataLocations)
  101. {
  102. $this->dataLocations = $dataLocations;
  103. }
  104. /**
  105. * @return string[]
  106. */
  107. public function getDataLocations()
  108. {
  109. return $this->dataLocations;
  110. }
  111. /**
  112. * @param string
  113. */
  114. public function setDetectTime($detectTime)
  115. {
  116. $this->detectTime = $detectTime;
  117. }
  118. /**
  119. * @return string
  120. */
  121. public function getDetectTime()
  122. {
  123. return $this->detectTime;
  124. }
  125. /**
  126. * @param GoogleCloudDataplexV1ActionFailedSecurityPolicyApply
  127. */
  128. public function setFailedSecurityPolicyApply(GoogleCloudDataplexV1ActionFailedSecurityPolicyApply $failedSecurityPolicyApply)
  129. {
  130. $this->failedSecurityPolicyApply = $failedSecurityPolicyApply;
  131. }
  132. /**
  133. * @return GoogleCloudDataplexV1ActionFailedSecurityPolicyApply
  134. */
  135. public function getFailedSecurityPolicyApply()
  136. {
  137. return $this->failedSecurityPolicyApply;
  138. }
  139. /**
  140. * @param GoogleCloudDataplexV1ActionIncompatibleDataSchema
  141. */
  142. public function setIncompatibleDataSchema(GoogleCloudDataplexV1ActionIncompatibleDataSchema $incompatibleDataSchema)
  143. {
  144. $this->incompatibleDataSchema = $incompatibleDataSchema;
  145. }
  146. /**
  147. * @return GoogleCloudDataplexV1ActionIncompatibleDataSchema
  148. */
  149. public function getIncompatibleDataSchema()
  150. {
  151. return $this->incompatibleDataSchema;
  152. }
  153. /**
  154. * @param GoogleCloudDataplexV1ActionInvalidDataFormat
  155. */
  156. public function setInvalidDataFormat(GoogleCloudDataplexV1ActionInvalidDataFormat $invalidDataFormat)
  157. {
  158. $this->invalidDataFormat = $invalidDataFormat;
  159. }
  160. /**
  161. * @return GoogleCloudDataplexV1ActionInvalidDataFormat
  162. */
  163. public function getInvalidDataFormat()
  164. {
  165. return $this->invalidDataFormat;
  166. }
  167. /**
  168. * @param GoogleCloudDataplexV1ActionInvalidDataOrganization
  169. */
  170. public function setInvalidDataOrganization(GoogleCloudDataplexV1ActionInvalidDataOrganization $invalidDataOrganization)
  171. {
  172. $this->invalidDataOrganization = $invalidDataOrganization;
  173. }
  174. /**
  175. * @return GoogleCloudDataplexV1ActionInvalidDataOrganization
  176. */
  177. public function getInvalidDataOrganization()
  178. {
  179. return $this->invalidDataOrganization;
  180. }
  181. /**
  182. * @param GoogleCloudDataplexV1ActionInvalidDataPartition
  183. */
  184. public function setInvalidDataPartition(GoogleCloudDataplexV1ActionInvalidDataPartition $invalidDataPartition)
  185. {
  186. $this->invalidDataPartition = $invalidDataPartition;
  187. }
  188. /**
  189. * @return GoogleCloudDataplexV1ActionInvalidDataPartition
  190. */
  191. public function getInvalidDataPartition()
  192. {
  193. return $this->invalidDataPartition;
  194. }
  195. /**
  196. * @param string
  197. */
  198. public function setIssue($issue)
  199. {
  200. $this->issue = $issue;
  201. }
  202. /**
  203. * @return string
  204. */
  205. public function getIssue()
  206. {
  207. return $this->issue;
  208. }
  209. /**
  210. * @param string
  211. */
  212. public function setLake($lake)
  213. {
  214. $this->lake = $lake;
  215. }
  216. /**
  217. * @return string
  218. */
  219. public function getLake()
  220. {
  221. return $this->lake;
  222. }
  223. /**
  224. * @param GoogleCloudDataplexV1ActionMissingData
  225. */
  226. public function setMissingData(GoogleCloudDataplexV1ActionMissingData $missingData)
  227. {
  228. $this->missingData = $missingData;
  229. }
  230. /**
  231. * @return GoogleCloudDataplexV1ActionMissingData
  232. */
  233. public function getMissingData()
  234. {
  235. return $this->missingData;
  236. }
  237. /**
  238. * @param GoogleCloudDataplexV1ActionMissingResource
  239. */
  240. public function setMissingResource(GoogleCloudDataplexV1ActionMissingResource $missingResource)
  241. {
  242. $this->missingResource = $missingResource;
  243. }
  244. /**
  245. * @return GoogleCloudDataplexV1ActionMissingResource
  246. */
  247. public function getMissingResource()
  248. {
  249. return $this->missingResource;
  250. }
  251. /**
  252. * @param string
  253. */
  254. public function setName($name)
  255. {
  256. $this->name = $name;
  257. }
  258. /**
  259. * @return string
  260. */
  261. public function getName()
  262. {
  263. return $this->name;
  264. }
  265. /**
  266. * @param GoogleCloudDataplexV1ActionUnauthorizedResource
  267. */
  268. public function setUnauthorizedResource(GoogleCloudDataplexV1ActionUnauthorizedResource $unauthorizedResource)
  269. {
  270. $this->unauthorizedResource = $unauthorizedResource;
  271. }
  272. /**
  273. * @return GoogleCloudDataplexV1ActionUnauthorizedResource
  274. */
  275. public function getUnauthorizedResource()
  276. {
  277. return $this->unauthorizedResource;
  278. }
  279. /**
  280. * @param string
  281. */
  282. public function setZone($zone)
  283. {
  284. $this->zone = $zone;
  285. }
  286. /**
  287. * @return string
  288. */
  289. public function getZone()
  290. {
  291. return $this->zone;
  292. }
  293. }
  294. // Adding a class alias for backwards compatibility with the previous class name.
  295. class_alias(GoogleCloudDataplexV1Action::class, 'Google_Service_CloudDataplex_GoogleCloudDataplexV1Action');