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 GooglePrivacyDlpV2TransformationSummary extends \Google\Collection 21{ 22 protected $collection_key = 'results'; 23 protected $fieldType = GooglePrivacyDlpV2FieldId::class; 24 protected $fieldDataType = ''; 25 protected $fieldTransformationsType = GooglePrivacyDlpV2FieldTransformation::class; 26 protected $fieldTransformationsDataType = 'array'; 27 protected $infoTypeType = GooglePrivacyDlpV2InfoType::class; 28 protected $infoTypeDataType = ''; 29 protected $recordSuppressType = GooglePrivacyDlpV2RecordSuppression::class; 30 protected $recordSuppressDataType = ''; 31 protected $resultsType = GooglePrivacyDlpV2SummaryResult::class; 32 protected $resultsDataType = 'array'; 33 protected $transformationType = GooglePrivacyDlpV2PrimitiveTransformation::class; 34 protected $transformationDataType = ''; 35 /** 36 * @var string 37 */ 38 public $transformedBytes; 39 40 /** 41 * @param GooglePrivacyDlpV2FieldId 42 */ 43 public function setField(GooglePrivacyDlpV2FieldId $field) 44 { 45 $this->field = $field; 46 } 47 /** 48 * @return GooglePrivacyDlpV2FieldId 49 */ 50 public function getField() 51 { 52 return $this->field; 53 } 54 /** 55 * @param GooglePrivacyDlpV2FieldTransformation[] 56 */ 57 public function setFieldTransformations($fieldTransformations) 58 { 59 $this->fieldTransformations = $fieldTransformations; 60 } 61 /** 62 * @return GooglePrivacyDlpV2FieldTransformation[] 63 */ 64 public function getFieldTransformations() 65 { 66 return $this->fieldTransformations; 67 } 68 /** 69 * @param GooglePrivacyDlpV2InfoType 70 */ 71 public function setInfoType(GooglePrivacyDlpV2InfoType $infoType) 72 { 73 $this->infoType = $infoType; 74 } 75 /** 76 * @return GooglePrivacyDlpV2InfoType 77 */ 78 public function getInfoType() 79 { 80 return $this->infoType; 81 } 82 /** 83 * @param GooglePrivacyDlpV2RecordSuppression 84 */ 85 public function setRecordSuppress(GooglePrivacyDlpV2RecordSuppression $recordSuppress) 86 { 87 $this->recordSuppress = $recordSuppress; 88 } 89 /** 90 * @return GooglePrivacyDlpV2RecordSuppression 91 */ 92 public function getRecordSuppress() 93 { 94 return $this->recordSuppress; 95 } 96 /** 97 * @param GooglePrivacyDlpV2SummaryResult[] 98 */ 99 public function setResults($results) 100 { 101 $this->results = $results; 102 } 103 /** 104 * @return GooglePrivacyDlpV2SummaryResult[] 105 */ 106 public function getResults() 107 { 108 return $this->results; 109 } 110 /** 111 * @param GooglePrivacyDlpV2PrimitiveTransformation 112 */ 113 public function setTransformation(GooglePrivacyDlpV2PrimitiveTransformation $transformation) 114 { 115 $this->transformation = $transformation; 116 } 117 /** 118 * @return GooglePrivacyDlpV2PrimitiveTransformation 119 */ 120 public function getTransformation() 121 { 122 return $this->transformation; 123 } 124 /** 125 * @param string 126 */ 127 public function setTransformedBytes($transformedBytes) 128 { 129 $this->transformedBytes = $transformedBytes; 130 } 131 /** 132 * @return string 133 */ 134 public function getTransformedBytes() 135 { 136 return $this->transformedBytes; 137 } 138} 139 140// Adding a class alias for backwards compatibility with the previous class name. 141class_alias(GooglePrivacyDlpV2TransformationSummary::class, 'Google_Service_DLP_GooglePrivacyDlpV2TransformationSummary'); 142