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 GooglePrivacyDlpV2ImageTransformation extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $allInfoTypesType = GooglePrivacyDlpV2AllInfoTypes::class;
|
---|
23 | protected $allInfoTypesDataType = '';
|
---|
24 | protected $allTextType = GooglePrivacyDlpV2AllText::class;
|
---|
25 | protected $allTextDataType = '';
|
---|
26 | protected $redactionColorType = GooglePrivacyDlpV2Color::class;
|
---|
27 | protected $redactionColorDataType = '';
|
---|
28 | protected $selectedInfoTypesType = GooglePrivacyDlpV2SelectedInfoTypes::class;
|
---|
29 | protected $selectedInfoTypesDataType = '';
|
---|
30 |
|
---|
31 | /**
|
---|
32 | * @param GooglePrivacyDlpV2AllInfoTypes
|
---|
33 | */
|
---|
34 | public function setAllInfoTypes(GooglePrivacyDlpV2AllInfoTypes $allInfoTypes)
|
---|
35 | {
|
---|
36 | $this->allInfoTypes = $allInfoTypes;
|
---|
37 | }
|
---|
38 | /**
|
---|
39 | * @return GooglePrivacyDlpV2AllInfoTypes
|
---|
40 | */
|
---|
41 | public function getAllInfoTypes()
|
---|
42 | {
|
---|
43 | return $this->allInfoTypes;
|
---|
44 | }
|
---|
45 | /**
|
---|
46 | * @param GooglePrivacyDlpV2AllText
|
---|
47 | */
|
---|
48 | public function setAllText(GooglePrivacyDlpV2AllText $allText)
|
---|
49 | {
|
---|
50 | $this->allText = $allText;
|
---|
51 | }
|
---|
52 | /**
|
---|
53 | * @return GooglePrivacyDlpV2AllText
|
---|
54 | */
|
---|
55 | public function getAllText()
|
---|
56 | {
|
---|
57 | return $this->allText;
|
---|
58 | }
|
---|
59 | /**
|
---|
60 | * @param GooglePrivacyDlpV2Color
|
---|
61 | */
|
---|
62 | public function setRedactionColor(GooglePrivacyDlpV2Color $redactionColor)
|
---|
63 | {
|
---|
64 | $this->redactionColor = $redactionColor;
|
---|
65 | }
|
---|
66 | /**
|
---|
67 | * @return GooglePrivacyDlpV2Color
|
---|
68 | */
|
---|
69 | public function getRedactionColor()
|
---|
70 | {
|
---|
71 | return $this->redactionColor;
|
---|
72 | }
|
---|
73 | /**
|
---|
74 | * @param GooglePrivacyDlpV2SelectedInfoTypes
|
---|
75 | */
|
---|
76 | public function setSelectedInfoTypes(GooglePrivacyDlpV2SelectedInfoTypes $selectedInfoTypes)
|
---|
77 | {
|
---|
78 | $this->selectedInfoTypes = $selectedInfoTypes;
|
---|
79 | }
|
---|
80 | /**
|
---|
81 | * @return GooglePrivacyDlpV2SelectedInfoTypes
|
---|
82 | */
|
---|
83 | public function getSelectedInfoTypes()
|
---|
84 | {
|
---|
85 | return $this->selectedInfoTypes;
|
---|
86 | }
|
---|
87 | }
|
---|
88 |
|
---|
89 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
90 | class_alias(GooglePrivacyDlpV2ImageTransformation::class, 'Google_Service_DLP_GooglePrivacyDlpV2ImageTransformation');
|
---|