source: vendor/google/apiclient-services/src/Contentwarehouse/GoogleCloudContentwarehouseV1DocumentQuery.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 9 days ago

Upload new project files

  • Property mode set to 100644
File size: 5.3 KB
Line 
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\Contentwarehouse;
19
20class GoogleCloudContentwarehouseV1DocumentQuery extends \Google\Collection
21{
22 protected $collection_key = 'timeFilters';
23 /**
24 * @var string
25 */
26 public $customPropertyFilter;
27 protected $customWeightsMetadataType = GoogleCloudContentwarehouseV1CustomWeightsMetadata::class;
28 protected $customWeightsMetadataDataType = '';
29 /**
30 * @var string[]
31 */
32 public $documentCreatorFilter;
33 /**
34 * @var string[]
35 */
36 public $documentNameFilter;
37 /**
38 * @var string[]
39 */
40 public $documentSchemaNames;
41 protected $fileTypeFilterType = GoogleCloudContentwarehouseV1FileTypeFilter::class;
42 protected $fileTypeFilterDataType = '';
43 /**
44 * @var string
45 */
46 public $folderNameFilter;
47 /**
48 * @var bool
49 */
50 public $isNlQuery;
51 protected $propertyFilterType = GoogleCloudContentwarehouseV1PropertyFilter::class;
52 protected $propertyFilterDataType = 'array';
53 /**
54 * @var string
55 */
56 public $query;
57 /**
58 * @var string[]
59 */
60 public $queryContext;
61 protected $timeFiltersType = GoogleCloudContentwarehouseV1TimeFilter::class;
62 protected $timeFiltersDataType = 'array';
63
64 /**
65 * @param string
66 */
67 public function setCustomPropertyFilter($customPropertyFilter)
68 {
69 $this->customPropertyFilter = $customPropertyFilter;
70 }
71 /**
72 * @return string
73 */
74 public function getCustomPropertyFilter()
75 {
76 return $this->customPropertyFilter;
77 }
78 /**
79 * @param GoogleCloudContentwarehouseV1CustomWeightsMetadata
80 */
81 public function setCustomWeightsMetadata(GoogleCloudContentwarehouseV1CustomWeightsMetadata $customWeightsMetadata)
82 {
83 $this->customWeightsMetadata = $customWeightsMetadata;
84 }
85 /**
86 * @return GoogleCloudContentwarehouseV1CustomWeightsMetadata
87 */
88 public function getCustomWeightsMetadata()
89 {
90 return $this->customWeightsMetadata;
91 }
92 /**
93 * @param string[]
94 */
95 public function setDocumentCreatorFilter($documentCreatorFilter)
96 {
97 $this->documentCreatorFilter = $documentCreatorFilter;
98 }
99 /**
100 * @return string[]
101 */
102 public function getDocumentCreatorFilter()
103 {
104 return $this->documentCreatorFilter;
105 }
106 /**
107 * @param string[]
108 */
109 public function setDocumentNameFilter($documentNameFilter)
110 {
111 $this->documentNameFilter = $documentNameFilter;
112 }
113 /**
114 * @return string[]
115 */
116 public function getDocumentNameFilter()
117 {
118 return $this->documentNameFilter;
119 }
120 /**
121 * @param string[]
122 */
123 public function setDocumentSchemaNames($documentSchemaNames)
124 {
125 $this->documentSchemaNames = $documentSchemaNames;
126 }
127 /**
128 * @return string[]
129 */
130 public function getDocumentSchemaNames()
131 {
132 return $this->documentSchemaNames;
133 }
134 /**
135 * @param GoogleCloudContentwarehouseV1FileTypeFilter
136 */
137 public function setFileTypeFilter(GoogleCloudContentwarehouseV1FileTypeFilter $fileTypeFilter)
138 {
139 $this->fileTypeFilter = $fileTypeFilter;
140 }
141 /**
142 * @return GoogleCloudContentwarehouseV1FileTypeFilter
143 */
144 public function getFileTypeFilter()
145 {
146 return $this->fileTypeFilter;
147 }
148 /**
149 * @param string
150 */
151 public function setFolderNameFilter($folderNameFilter)
152 {
153 $this->folderNameFilter = $folderNameFilter;
154 }
155 /**
156 * @return string
157 */
158 public function getFolderNameFilter()
159 {
160 return $this->folderNameFilter;
161 }
162 /**
163 * @param bool
164 */
165 public function setIsNlQuery($isNlQuery)
166 {
167 $this->isNlQuery = $isNlQuery;
168 }
169 /**
170 * @return bool
171 */
172 public function getIsNlQuery()
173 {
174 return $this->isNlQuery;
175 }
176 /**
177 * @param GoogleCloudContentwarehouseV1PropertyFilter[]
178 */
179 public function setPropertyFilter($propertyFilter)
180 {
181 $this->propertyFilter = $propertyFilter;
182 }
183 /**
184 * @return GoogleCloudContentwarehouseV1PropertyFilter[]
185 */
186 public function getPropertyFilter()
187 {
188 return $this->propertyFilter;
189 }
190 /**
191 * @param string
192 */
193 public function setQuery($query)
194 {
195 $this->query = $query;
196 }
197 /**
198 * @return string
199 */
200 public function getQuery()
201 {
202 return $this->query;
203 }
204 /**
205 * @param string[]
206 */
207 public function setQueryContext($queryContext)
208 {
209 $this->queryContext = $queryContext;
210 }
211 /**
212 * @return string[]
213 */
214 public function getQueryContext()
215 {
216 return $this->queryContext;
217 }
218 /**
219 * @param GoogleCloudContentwarehouseV1TimeFilter[]
220 */
221 public function setTimeFilters($timeFilters)
222 {
223 $this->timeFilters = $timeFilters;
224 }
225 /**
226 * @return GoogleCloudContentwarehouseV1TimeFilter[]
227 */
228 public function getTimeFilters()
229 {
230 return $this->timeFilters;
231 }
232}
233
234// Adding a class alias for backwards compatibility with the previous class name.
235class_alias(GoogleCloudContentwarehouseV1DocumentQuery::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1DocumentQuery');
Note: See TracBrowser for help on using the repository browser.