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 GooglePrivacyDlpV2PrimitiveTransformation extends \Google\Model 21{ 22 protected $bucketingConfigType = GooglePrivacyDlpV2BucketingConfig::class; 23 protected $bucketingConfigDataType = ''; 24 protected $characterMaskConfigType = GooglePrivacyDlpV2CharacterMaskConfig::class; 25 protected $characterMaskConfigDataType = ''; 26 protected $cryptoDeterministicConfigType = GooglePrivacyDlpV2CryptoDeterministicConfig::class; 27 protected $cryptoDeterministicConfigDataType = ''; 28 protected $cryptoHashConfigType = GooglePrivacyDlpV2CryptoHashConfig::class; 29 protected $cryptoHashConfigDataType = ''; 30 protected $cryptoReplaceFfxFpeConfigType = GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig::class; 31 protected $cryptoReplaceFfxFpeConfigDataType = ''; 32 protected $dateShiftConfigType = GooglePrivacyDlpV2DateShiftConfig::class; 33 protected $dateShiftConfigDataType = ''; 34 protected $fixedSizeBucketingConfigType = GooglePrivacyDlpV2FixedSizeBucketingConfig::class; 35 protected $fixedSizeBucketingConfigDataType = ''; 36 protected $redactConfigType = GooglePrivacyDlpV2RedactConfig::class; 37 protected $redactConfigDataType = ''; 38 protected $replaceConfigType = GooglePrivacyDlpV2ReplaceValueConfig::class; 39 protected $replaceConfigDataType = ''; 40 protected $replaceDictionaryConfigType = GooglePrivacyDlpV2ReplaceDictionaryConfig::class; 41 protected $replaceDictionaryConfigDataType = ''; 42 protected $replaceWithInfoTypeConfigType = GooglePrivacyDlpV2ReplaceWithInfoTypeConfig::class; 43 protected $replaceWithInfoTypeConfigDataType = ''; 44 protected $timePartConfigType = GooglePrivacyDlpV2TimePartConfig::class; 45 protected $timePartConfigDataType = ''; 46 47 /** 48 * @param GooglePrivacyDlpV2BucketingConfig 49 */ 50 public function setBucketingConfig(GooglePrivacyDlpV2BucketingConfig $bucketingConfig) 51 { 52 $this->bucketingConfig = $bucketingConfig; 53 } 54 /** 55 * @return GooglePrivacyDlpV2BucketingConfig 56 */ 57 public function getBucketingConfig() 58 { 59 return $this->bucketingConfig; 60 } 61 /** 62 * @param GooglePrivacyDlpV2CharacterMaskConfig 63 */ 64 public function setCharacterMaskConfig(GooglePrivacyDlpV2CharacterMaskConfig $characterMaskConfig) 65 { 66 $this->characterMaskConfig = $characterMaskConfig; 67 } 68 /** 69 * @return GooglePrivacyDlpV2CharacterMaskConfig 70 */ 71 public function getCharacterMaskConfig() 72 { 73 return $this->characterMaskConfig; 74 } 75 /** 76 * @param GooglePrivacyDlpV2CryptoDeterministicConfig 77 */ 78 public function setCryptoDeterministicConfig(GooglePrivacyDlpV2CryptoDeterministicConfig $cryptoDeterministicConfig) 79 { 80 $this->cryptoDeterministicConfig = $cryptoDeterministicConfig; 81 } 82 /** 83 * @return GooglePrivacyDlpV2CryptoDeterministicConfig 84 */ 85 public function getCryptoDeterministicConfig() 86 { 87 return $this->cryptoDeterministicConfig; 88 } 89 /** 90 * @param GooglePrivacyDlpV2CryptoHashConfig 91 */ 92 public function setCryptoHashConfig(GooglePrivacyDlpV2CryptoHashConfig $cryptoHashConfig) 93 { 94 $this->cryptoHashConfig = $cryptoHashConfig; 95 } 96 /** 97 * @return GooglePrivacyDlpV2CryptoHashConfig 98 */ 99 public function getCryptoHashConfig() 100 { 101 return $this->cryptoHashConfig; 102 } 103 /** 104 * @param GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig 105 */ 106 public function setCryptoReplaceFfxFpeConfig(GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig $cryptoReplaceFfxFpeConfig) 107 { 108 $this->cryptoReplaceFfxFpeConfig = $cryptoReplaceFfxFpeConfig; 109 } 110 /** 111 * @return GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig 112 */ 113 public function getCryptoReplaceFfxFpeConfig() 114 { 115 return $this->cryptoReplaceFfxFpeConfig; 116 } 117 /** 118 * @param GooglePrivacyDlpV2DateShiftConfig 119 */ 120 public function setDateShiftConfig(GooglePrivacyDlpV2DateShiftConfig $dateShiftConfig) 121 { 122 $this->dateShiftConfig = $dateShiftConfig; 123 } 124 /** 125 * @return GooglePrivacyDlpV2DateShiftConfig 126 */ 127 public function getDateShiftConfig() 128 { 129 return $this->dateShiftConfig; 130 } 131 /** 132 * @param GooglePrivacyDlpV2FixedSizeBucketingConfig 133 */ 134 public function setFixedSizeBucketingConfig(GooglePrivacyDlpV2FixedSizeBucketingConfig $fixedSizeBucketingConfig) 135 { 136 $this->fixedSizeBucketingConfig = $fixedSizeBucketingConfig; 137 } 138 /** 139 * @return GooglePrivacyDlpV2FixedSizeBucketingConfig 140 */ 141 public function getFixedSizeBucketingConfig() 142 { 143 return $this->fixedSizeBucketingConfig; 144 } 145 /** 146 * @param GooglePrivacyDlpV2RedactConfig 147 */ 148 public function setRedactConfig(GooglePrivacyDlpV2RedactConfig $redactConfig) 149 { 150 $this->redactConfig = $redactConfig; 151 } 152 /** 153 * @return GooglePrivacyDlpV2RedactConfig 154 */ 155 public function getRedactConfig() 156 { 157 return $this->redactConfig; 158 } 159 /** 160 * @param GooglePrivacyDlpV2ReplaceValueConfig 161 */ 162 public function setReplaceConfig(GooglePrivacyDlpV2ReplaceValueConfig $replaceConfig) 163 { 164 $this->replaceConfig = $replaceConfig; 165 } 166 /** 167 * @return GooglePrivacyDlpV2ReplaceValueConfig 168 */ 169 public function getReplaceConfig() 170 { 171 return $this->replaceConfig; 172 } 173 /** 174 * @param GooglePrivacyDlpV2ReplaceDictionaryConfig 175 */ 176 public function setReplaceDictionaryConfig(GooglePrivacyDlpV2ReplaceDictionaryConfig $replaceDictionaryConfig) 177 { 178 $this->replaceDictionaryConfig = $replaceDictionaryConfig; 179 } 180 /** 181 * @return GooglePrivacyDlpV2ReplaceDictionaryConfig 182 */ 183 public function getReplaceDictionaryConfig() 184 { 185 return $this->replaceDictionaryConfig; 186 } 187 /** 188 * @param GooglePrivacyDlpV2ReplaceWithInfoTypeConfig 189 */ 190 public function setReplaceWithInfoTypeConfig(GooglePrivacyDlpV2ReplaceWithInfoTypeConfig $replaceWithInfoTypeConfig) 191 { 192 $this->replaceWithInfoTypeConfig = $replaceWithInfoTypeConfig; 193 } 194 /** 195 * @return GooglePrivacyDlpV2ReplaceWithInfoTypeConfig 196 */ 197 public function getReplaceWithInfoTypeConfig() 198 { 199 return $this->replaceWithInfoTypeConfig; 200 } 201 /** 202 * @param GooglePrivacyDlpV2TimePartConfig 203 */ 204 public function setTimePartConfig(GooglePrivacyDlpV2TimePartConfig $timePartConfig) 205 { 206 $this->timePartConfig = $timePartConfig; 207 } 208 /** 209 * @return GooglePrivacyDlpV2TimePartConfig 210 */ 211 public function getTimePartConfig() 212 { 213 return $this->timePartConfig; 214 } 215} 216 217// Adding a class alias for backwards compatibility with the previous class name. 218class_alias(GooglePrivacyDlpV2PrimitiveTransformation::class, 'Google_Service_DLP_GooglePrivacyDlpV2PrimitiveTransformation'); 219