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