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 GooglePrivacyDlpV2PrivacyMetric extends \Google\Model 21{ 22 protected $categoricalStatsConfigType = GooglePrivacyDlpV2CategoricalStatsConfig::class; 23 protected $categoricalStatsConfigDataType = ''; 24 protected $deltaPresenceEstimationConfigType = GooglePrivacyDlpV2DeltaPresenceEstimationConfig::class; 25 protected $deltaPresenceEstimationConfigDataType = ''; 26 protected $kAnonymityConfigType = GooglePrivacyDlpV2KAnonymityConfig::class; 27 protected $kAnonymityConfigDataType = ''; 28 protected $kMapEstimationConfigType = GooglePrivacyDlpV2KMapEstimationConfig::class; 29 protected $kMapEstimationConfigDataType = ''; 30 protected $lDiversityConfigType = GooglePrivacyDlpV2LDiversityConfig::class; 31 protected $lDiversityConfigDataType = ''; 32 protected $numericalStatsConfigType = GooglePrivacyDlpV2NumericalStatsConfig::class; 33 protected $numericalStatsConfigDataType = ''; 34 35 /** 36 * @param GooglePrivacyDlpV2CategoricalStatsConfig 37 */ 38 public function setCategoricalStatsConfig(GooglePrivacyDlpV2CategoricalStatsConfig $categoricalStatsConfig) 39 { 40 $this->categoricalStatsConfig = $categoricalStatsConfig; 41 } 42 /** 43 * @return GooglePrivacyDlpV2CategoricalStatsConfig 44 */ 45 public function getCategoricalStatsConfig() 46 { 47 return $this->categoricalStatsConfig; 48 } 49 /** 50 * @param GooglePrivacyDlpV2DeltaPresenceEstimationConfig 51 */ 52 public function setDeltaPresenceEstimationConfig(GooglePrivacyDlpV2DeltaPresenceEstimationConfig $deltaPresenceEstimationConfig) 53 { 54 $this->deltaPresenceEstimationConfig = $deltaPresenceEstimationConfig; 55 } 56 /** 57 * @return GooglePrivacyDlpV2DeltaPresenceEstimationConfig 58 */ 59 public function getDeltaPresenceEstimationConfig() 60 { 61 return $this->deltaPresenceEstimationConfig; 62 } 63 /** 64 * @param GooglePrivacyDlpV2KAnonymityConfig 65 */ 66 public function setKAnonymityConfig(GooglePrivacyDlpV2KAnonymityConfig $kAnonymityConfig) 67 { 68 $this->kAnonymityConfig = $kAnonymityConfig; 69 } 70 /** 71 * @return GooglePrivacyDlpV2KAnonymityConfig 72 */ 73 public function getKAnonymityConfig() 74 { 75 return $this->kAnonymityConfig; 76 } 77 /** 78 * @param GooglePrivacyDlpV2KMapEstimationConfig 79 */ 80 public function setKMapEstimationConfig(GooglePrivacyDlpV2KMapEstimationConfig $kMapEstimationConfig) 81 { 82 $this->kMapEstimationConfig = $kMapEstimationConfig; 83 } 84 /** 85 * @return GooglePrivacyDlpV2KMapEstimationConfig 86 */ 87 public function getKMapEstimationConfig() 88 { 89 return $this->kMapEstimationConfig; 90 } 91 /** 92 * @param GooglePrivacyDlpV2LDiversityConfig 93 */ 94 public function setLDiversityConfig(GooglePrivacyDlpV2LDiversityConfig $lDiversityConfig) 95 { 96 $this->lDiversityConfig = $lDiversityConfig; 97 } 98 /** 99 * @return GooglePrivacyDlpV2LDiversityConfig 100 */ 101 public function getLDiversityConfig() 102 { 103 return $this->lDiversityConfig; 104 } 105 /** 106 * @param GooglePrivacyDlpV2NumericalStatsConfig 107 */ 108 public function setNumericalStatsConfig(GooglePrivacyDlpV2NumericalStatsConfig $numericalStatsConfig) 109 { 110 $this->numericalStatsConfig = $numericalStatsConfig; 111 } 112 /** 113 * @return GooglePrivacyDlpV2NumericalStatsConfig 114 */ 115 public function getNumericalStatsConfig() 116 { 117 return $this->numericalStatsConfig; 118 } 119} 120 121// Adding a class alias for backwards compatibility with the previous class name. 122class_alias(GooglePrivacyDlpV2PrivacyMetric::class, 'Google_Service_DLP_GooglePrivacyDlpV2PrivacyMetric'); 123