allInfoTypes = $allInfoTypes; } /** * @return GooglePrivacyDlpV2AllInfoTypes */ public function getAllInfoTypes() { return $this->allInfoTypes; } /** * Apply transformation to all text that doesn't match an infoType. Only one * instance is allowed within the ImageTransformations message. * * @param GooglePrivacyDlpV2AllText $allText */ public function setAllText(GooglePrivacyDlpV2AllText $allText) { $this->allText = $allText; } /** * @return GooglePrivacyDlpV2AllText */ public function getAllText() { return $this->allText; } /** * The color to use when redacting content from an image. If not specified, * the default is black. * * @param GooglePrivacyDlpV2Color $redactionColor */ public function setRedactionColor(GooglePrivacyDlpV2Color $redactionColor) { $this->redactionColor = $redactionColor; } /** * @return GooglePrivacyDlpV2Color */ public function getRedactionColor() { return $this->redactionColor; } /** * Apply transformation to the selected info_types. * * @param GooglePrivacyDlpV2SelectedInfoTypes $selectedInfoTypes */ public function setSelectedInfoTypes(GooglePrivacyDlpV2SelectedInfoTypes $selectedInfoTypes) { $this->selectedInfoTypes = $selectedInfoTypes; } /** * @return GooglePrivacyDlpV2SelectedInfoTypes */ public function getSelectedInfoTypes() { return $this->selectedInfoTypes; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GooglePrivacyDlpV2ImageTransformation::class, 'Google_Service_DLP_GooglePrivacyDlpV2ImageTransformation');