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 GooglePrivacyDlpV2BigQueryOptions extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'includedFields';
|
---|
23 | protected $excludedFieldsType = GooglePrivacyDlpV2FieldId::class;
|
---|
24 | protected $excludedFieldsDataType = 'array';
|
---|
25 | protected $identifyingFieldsType = GooglePrivacyDlpV2FieldId::class;
|
---|
26 | protected $identifyingFieldsDataType = 'array';
|
---|
27 | protected $includedFieldsType = GooglePrivacyDlpV2FieldId::class;
|
---|
28 | protected $includedFieldsDataType = 'array';
|
---|
29 | /**
|
---|
30 | * @var string
|
---|
31 | */
|
---|
32 | public $rowsLimit;
|
---|
33 | /**
|
---|
34 | * @var int
|
---|
35 | */
|
---|
36 | public $rowsLimitPercent;
|
---|
37 | /**
|
---|
38 | * @var string
|
---|
39 | */
|
---|
40 | public $sampleMethod;
|
---|
41 | protected $tableReferenceType = GooglePrivacyDlpV2BigQueryTable::class;
|
---|
42 | protected $tableReferenceDataType = '';
|
---|
43 |
|
---|
44 | /**
|
---|
45 | * @param GooglePrivacyDlpV2FieldId[]
|
---|
46 | */
|
---|
47 | public function setExcludedFields($excludedFields)
|
---|
48 | {
|
---|
49 | $this->excludedFields = $excludedFields;
|
---|
50 | }
|
---|
51 | /**
|
---|
52 | * @return GooglePrivacyDlpV2FieldId[]
|
---|
53 | */
|
---|
54 | public function getExcludedFields()
|
---|
55 | {
|
---|
56 | return $this->excludedFields;
|
---|
57 | }
|
---|
58 | /**
|
---|
59 | * @param GooglePrivacyDlpV2FieldId[]
|
---|
60 | */
|
---|
61 | public function setIdentifyingFields($identifyingFields)
|
---|
62 | {
|
---|
63 | $this->identifyingFields = $identifyingFields;
|
---|
64 | }
|
---|
65 | /**
|
---|
66 | * @return GooglePrivacyDlpV2FieldId[]
|
---|
67 | */
|
---|
68 | public function getIdentifyingFields()
|
---|
69 | {
|
---|
70 | return $this->identifyingFields;
|
---|
71 | }
|
---|
72 | /**
|
---|
73 | * @param GooglePrivacyDlpV2FieldId[]
|
---|
74 | */
|
---|
75 | public function setIncludedFields($includedFields)
|
---|
76 | {
|
---|
77 | $this->includedFields = $includedFields;
|
---|
78 | }
|
---|
79 | /**
|
---|
80 | * @return GooglePrivacyDlpV2FieldId[]
|
---|
81 | */
|
---|
82 | public function getIncludedFields()
|
---|
83 | {
|
---|
84 | return $this->includedFields;
|
---|
85 | }
|
---|
86 | /**
|
---|
87 | * @param string
|
---|
88 | */
|
---|
89 | public function setRowsLimit($rowsLimit)
|
---|
90 | {
|
---|
91 | $this->rowsLimit = $rowsLimit;
|
---|
92 | }
|
---|
93 | /**
|
---|
94 | * @return string
|
---|
95 | */
|
---|
96 | public function getRowsLimit()
|
---|
97 | {
|
---|
98 | return $this->rowsLimit;
|
---|
99 | }
|
---|
100 | /**
|
---|
101 | * @param int
|
---|
102 | */
|
---|
103 | public function setRowsLimitPercent($rowsLimitPercent)
|
---|
104 | {
|
---|
105 | $this->rowsLimitPercent = $rowsLimitPercent;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @return int
|
---|
109 | */
|
---|
110 | public function getRowsLimitPercent()
|
---|
111 | {
|
---|
112 | return $this->rowsLimitPercent;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @param string
|
---|
116 | */
|
---|
117 | public function setSampleMethod($sampleMethod)
|
---|
118 | {
|
---|
119 | $this->sampleMethod = $sampleMethod;
|
---|
120 | }
|
---|
121 | /**
|
---|
122 | * @return string
|
---|
123 | */
|
---|
124 | public function getSampleMethod()
|
---|
125 | {
|
---|
126 | return $this->sampleMethod;
|
---|
127 | }
|
---|
128 | /**
|
---|
129 | * @param GooglePrivacyDlpV2BigQueryTable
|
---|
130 | */
|
---|
131 | public function setTableReference(GooglePrivacyDlpV2BigQueryTable $tableReference)
|
---|
132 | {
|
---|
133 | $this->tableReference = $tableReference;
|
---|
134 | }
|
---|
135 | /**
|
---|
136 | * @return GooglePrivacyDlpV2BigQueryTable
|
---|
137 | */
|
---|
138 | public function getTableReference()
|
---|
139 | {
|
---|
140 | return $this->tableReference;
|
---|
141 | }
|
---|
142 | }
|
---|
143 |
|
---|
144 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
145 | class_alias(GooglePrivacyDlpV2BigQueryOptions::class, 'Google_Service_DLP_GooglePrivacyDlpV2BigQueryOptions');
|
---|