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\DLP; 19 20class GooglePrivacyDlpV2Finding extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $createTime; 26 /** 27 * @var string 28 */ 29 public $findingId; 30 protected $infoTypeType = GooglePrivacyDlpV2InfoType::class; 31 protected $infoTypeDataType = ''; 32 /** 33 * @var string 34 */ 35 public $jobCreateTime; 36 /** 37 * @var string 38 */ 39 public $jobName; 40 /** 41 * @var string[] 42 */ 43 public $labels; 44 /** 45 * @var string 46 */ 47 public $likelihood; 48 protected $locationType = GooglePrivacyDlpV2Location::class; 49 protected $locationDataType = ''; 50 /** 51 * @var string 52 */ 53 public $name; 54 /** 55 * @var string 56 */ 57 public $quote; 58 protected $quoteInfoType = GooglePrivacyDlpV2QuoteInfo::class; 59 protected $quoteInfoDataType = ''; 60 /** 61 * @var string 62 */ 63 public $resourceName; 64 /** 65 * @var string 66 */ 67 public $triggerName; 68 69 /** 70 * @param string 71 */ 72 public function setCreateTime($createTime) 73 { 74 $this->createTime = $createTime; 75 } 76 /** 77 * @return string 78 */ 79 public function getCreateTime() 80 { 81 return $this->createTime; 82 } 83 /** 84 * @param string 85 */ 86 public function setFindingId($findingId) 87 { 88 $this->findingId = $findingId; 89 } 90 /** 91 * @return string 92 */ 93 public function getFindingId() 94 { 95 return $this->findingId; 96 } 97 /** 98 * @param GooglePrivacyDlpV2InfoType 99 */ 100 public function setInfoType(GooglePrivacyDlpV2InfoType $infoType) 101 { 102 $this->infoType = $infoType; 103 } 104 /** 105 * @return GooglePrivacyDlpV2InfoType 106 */ 107 public function getInfoType() 108 { 109 return $this->infoType; 110 } 111 /** 112 * @param string 113 */ 114 public function setJobCreateTime($jobCreateTime) 115 { 116 $this->jobCreateTime = $jobCreateTime; 117 } 118 /** 119 * @return string 120 */ 121 public function getJobCreateTime() 122 { 123 return $this->jobCreateTime; 124 } 125 /** 126 * @param string 127 */ 128 public function setJobName($jobName) 129 { 130 $this->jobName = $jobName; 131 } 132 /** 133 * @return string 134 */ 135 public function getJobName() 136 { 137 return $this->jobName; 138 } 139 /** 140 * @param string[] 141 */ 142 public function setLabels($labels) 143 { 144 $this->labels = $labels; 145 } 146 /** 147 * @return string[] 148 */ 149 public function getLabels() 150 { 151 return $this->labels; 152 } 153 /** 154 * @param string 155 */ 156 public function setLikelihood($likelihood) 157 { 158 $this->likelihood = $likelihood; 159 } 160 /** 161 * @return string 162 */ 163 public function getLikelihood() 164 { 165 return $this->likelihood; 166 } 167 /** 168 * @param GooglePrivacyDlpV2Location 169 */ 170 public function setLocation(GooglePrivacyDlpV2Location $location) 171 { 172 $this->location = $location; 173 } 174 /** 175 * @return GooglePrivacyDlpV2Location 176 */ 177 public function getLocation() 178 { 179 return $this->location; 180 } 181 /** 182 * @param string 183 */ 184 public function setName($name) 185 { 186 $this->name = $name; 187 } 188 /** 189 * @return string 190 */ 191 public function getName() 192 { 193 return $this->name; 194 } 195 /** 196 * @param string 197 */ 198 public function setQuote($quote) 199 { 200 $this->quote = $quote; 201 } 202 /** 203 * @return string 204 */ 205 public function getQuote() 206 { 207 return $this->quote; 208 } 209 /** 210 * @param GooglePrivacyDlpV2QuoteInfo 211 */ 212 public function setQuoteInfo(GooglePrivacyDlpV2QuoteInfo $quoteInfo) 213 { 214 $this->quoteInfo = $quoteInfo; 215 } 216 /** 217 * @return GooglePrivacyDlpV2QuoteInfo 218 */ 219 public function getQuoteInfo() 220 { 221 return $this->quoteInfo; 222 } 223 /** 224 * @param string 225 */ 226 public function setResourceName($resourceName) 227 { 228 $this->resourceName = $resourceName; 229 } 230 /** 231 * @return string 232 */ 233 public function getResourceName() 234 { 235 return $this->resourceName; 236 } 237 /** 238 * @param string 239 */ 240 public function setTriggerName($triggerName) 241 { 242 $this->triggerName = $triggerName; 243 } 244 /** 245 * @return string 246 */ 247 public function getTriggerName() 248 { 249 return $this->triggerName; 250 } 251} 252 253// Adding a class alias for backwards compatibility with the previous class name. 254class_alias(GooglePrivacyDlpV2Finding::class, 'Google_Service_DLP_GooglePrivacyDlpV2Finding'); 255