[e3d4e0a] | 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\DLP;
|
---|
| 19 |
|
---|
| 20 | class GooglePrivacyDlpV2DiscoveryConfig extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'targets';
|
---|
| 23 | protected $actionsType = GooglePrivacyDlpV2DataProfileAction::class;
|
---|
| 24 | protected $actionsDataType = 'array';
|
---|
| 25 | /**
|
---|
| 26 | * @var string
|
---|
| 27 | */
|
---|
| 28 | public $createTime;
|
---|
| 29 | /**
|
---|
| 30 | * @var string
|
---|
| 31 | */
|
---|
| 32 | public $displayName;
|
---|
| 33 | protected $errorsType = GooglePrivacyDlpV2Error::class;
|
---|
| 34 | protected $errorsDataType = 'array';
|
---|
| 35 | /**
|
---|
| 36 | * @var string[]
|
---|
| 37 | */
|
---|
| 38 | public $inspectTemplates;
|
---|
| 39 | /**
|
---|
| 40 | * @var string
|
---|
| 41 | */
|
---|
| 42 | public $lastRunTime;
|
---|
| 43 | /**
|
---|
| 44 | * @var string
|
---|
| 45 | */
|
---|
| 46 | public $name;
|
---|
| 47 | protected $orgConfigType = GooglePrivacyDlpV2OrgConfig::class;
|
---|
| 48 | protected $orgConfigDataType = '';
|
---|
| 49 | protected $otherCloudStartingLocationType = GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation::class;
|
---|
| 50 | protected $otherCloudStartingLocationDataType = '';
|
---|
| 51 | /**
|
---|
| 52 | * @var string
|
---|
| 53 | */
|
---|
| 54 | public $status;
|
---|
| 55 | protected $targetsType = GooglePrivacyDlpV2DiscoveryTarget::class;
|
---|
| 56 | protected $targetsDataType = 'array';
|
---|
| 57 | /**
|
---|
| 58 | * @var string
|
---|
| 59 | */
|
---|
| 60 | public $updateTime;
|
---|
| 61 |
|
---|
| 62 | /**
|
---|
| 63 | * @param GooglePrivacyDlpV2DataProfileAction[]
|
---|
| 64 | */
|
---|
| 65 | public function setActions($actions)
|
---|
| 66 | {
|
---|
| 67 | $this->actions = $actions;
|
---|
| 68 | }
|
---|
| 69 | /**
|
---|
| 70 | * @return GooglePrivacyDlpV2DataProfileAction[]
|
---|
| 71 | */
|
---|
| 72 | public function getActions()
|
---|
| 73 | {
|
---|
| 74 | return $this->actions;
|
---|
| 75 | }
|
---|
| 76 | /**
|
---|
| 77 | * @param string
|
---|
| 78 | */
|
---|
| 79 | public function setCreateTime($createTime)
|
---|
| 80 | {
|
---|
| 81 | $this->createTime = $createTime;
|
---|
| 82 | }
|
---|
| 83 | /**
|
---|
| 84 | * @return string
|
---|
| 85 | */
|
---|
| 86 | public function getCreateTime()
|
---|
| 87 | {
|
---|
| 88 | return $this->createTime;
|
---|
| 89 | }
|
---|
| 90 | /**
|
---|
| 91 | * @param string
|
---|
| 92 | */
|
---|
| 93 | public function setDisplayName($displayName)
|
---|
| 94 | {
|
---|
| 95 | $this->displayName = $displayName;
|
---|
| 96 | }
|
---|
| 97 | /**
|
---|
| 98 | * @return string
|
---|
| 99 | */
|
---|
| 100 | public function getDisplayName()
|
---|
| 101 | {
|
---|
| 102 | return $this->displayName;
|
---|
| 103 | }
|
---|
| 104 | /**
|
---|
| 105 | * @param GooglePrivacyDlpV2Error[]
|
---|
| 106 | */
|
---|
| 107 | public function setErrors($errors)
|
---|
| 108 | {
|
---|
| 109 | $this->errors = $errors;
|
---|
| 110 | }
|
---|
| 111 | /**
|
---|
| 112 | * @return GooglePrivacyDlpV2Error[]
|
---|
| 113 | */
|
---|
| 114 | public function getErrors()
|
---|
| 115 | {
|
---|
| 116 | return $this->errors;
|
---|
| 117 | }
|
---|
| 118 | /**
|
---|
| 119 | * @param string[]
|
---|
| 120 | */
|
---|
| 121 | public function setInspectTemplates($inspectTemplates)
|
---|
| 122 | {
|
---|
| 123 | $this->inspectTemplates = $inspectTemplates;
|
---|
| 124 | }
|
---|
| 125 | /**
|
---|
| 126 | * @return string[]
|
---|
| 127 | */
|
---|
| 128 | public function getInspectTemplates()
|
---|
| 129 | {
|
---|
| 130 | return $this->inspectTemplates;
|
---|
| 131 | }
|
---|
| 132 | /**
|
---|
| 133 | * @param string
|
---|
| 134 | */
|
---|
| 135 | public function setLastRunTime($lastRunTime)
|
---|
| 136 | {
|
---|
| 137 | $this->lastRunTime = $lastRunTime;
|
---|
| 138 | }
|
---|
| 139 | /**
|
---|
| 140 | * @return string
|
---|
| 141 | */
|
---|
| 142 | public function getLastRunTime()
|
---|
| 143 | {
|
---|
| 144 | return $this->lastRunTime;
|
---|
| 145 | }
|
---|
| 146 | /**
|
---|
| 147 | * @param string
|
---|
| 148 | */
|
---|
| 149 | public function setName($name)
|
---|
| 150 | {
|
---|
| 151 | $this->name = $name;
|
---|
| 152 | }
|
---|
| 153 | /**
|
---|
| 154 | * @return string
|
---|
| 155 | */
|
---|
| 156 | public function getName()
|
---|
| 157 | {
|
---|
| 158 | return $this->name;
|
---|
| 159 | }
|
---|
| 160 | /**
|
---|
| 161 | * @param GooglePrivacyDlpV2OrgConfig
|
---|
| 162 | */
|
---|
| 163 | public function setOrgConfig(GooglePrivacyDlpV2OrgConfig $orgConfig)
|
---|
| 164 | {
|
---|
| 165 | $this->orgConfig = $orgConfig;
|
---|
| 166 | }
|
---|
| 167 | /**
|
---|
| 168 | * @return GooglePrivacyDlpV2OrgConfig
|
---|
| 169 | */
|
---|
| 170 | public function getOrgConfig()
|
---|
| 171 | {
|
---|
| 172 | return $this->orgConfig;
|
---|
| 173 | }
|
---|
| 174 | /**
|
---|
| 175 | * @param GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation
|
---|
| 176 | */
|
---|
| 177 | public function setOtherCloudStartingLocation(GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation $otherCloudStartingLocation)
|
---|
| 178 | {
|
---|
| 179 | $this->otherCloudStartingLocation = $otherCloudStartingLocation;
|
---|
| 180 | }
|
---|
| 181 | /**
|
---|
| 182 | * @return GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation
|
---|
| 183 | */
|
---|
| 184 | public function getOtherCloudStartingLocation()
|
---|
| 185 | {
|
---|
| 186 | return $this->otherCloudStartingLocation;
|
---|
| 187 | }
|
---|
| 188 | /**
|
---|
| 189 | * @param string
|
---|
| 190 | */
|
---|
| 191 | public function setStatus($status)
|
---|
| 192 | {
|
---|
| 193 | $this->status = $status;
|
---|
| 194 | }
|
---|
| 195 | /**
|
---|
| 196 | * @return string
|
---|
| 197 | */
|
---|
| 198 | public function getStatus()
|
---|
| 199 | {
|
---|
| 200 | return $this->status;
|
---|
| 201 | }
|
---|
| 202 | /**
|
---|
| 203 | * @param GooglePrivacyDlpV2DiscoveryTarget[]
|
---|
| 204 | */
|
---|
| 205 | public function setTargets($targets)
|
---|
| 206 | {
|
---|
| 207 | $this->targets = $targets;
|
---|
| 208 | }
|
---|
| 209 | /**
|
---|
| 210 | * @return GooglePrivacyDlpV2DiscoveryTarget[]
|
---|
| 211 | */
|
---|
| 212 | public function getTargets()
|
---|
| 213 | {
|
---|
| 214 | return $this->targets;
|
---|
| 215 | }
|
---|
| 216 | /**
|
---|
| 217 | * @param string
|
---|
| 218 | */
|
---|
| 219 | public function setUpdateTime($updateTime)
|
---|
| 220 | {
|
---|
| 221 | $this->updateTime = $updateTime;
|
---|
| 222 | }
|
---|
| 223 | /**
|
---|
| 224 | * @return string
|
---|
| 225 | */
|
---|
| 226 | public function getUpdateTime()
|
---|
| 227 | {
|
---|
| 228 | return $this->updateTime;
|
---|
| 229 | }
|
---|
| 230 | }
|
---|
| 231 |
|
---|
| 232 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 233 | class_alias(GooglePrivacyDlpV2DiscoveryConfig::class, 'Google_Service_DLP_GooglePrivacyDlpV2DiscoveryConfig');
|
---|