[f9c482b] | 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\CloudRetail;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudRetailV2CompletionConfig extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $allowlistInputConfigType = GoogleCloudRetailV2CompletionDataInputConfig::class;
|
---|
| 23 | protected $allowlistInputConfigDataType = '';
|
---|
| 24 | /**
|
---|
| 25 | * @var bool
|
---|
| 26 | */
|
---|
| 27 | public $autoLearning;
|
---|
| 28 | protected $denylistInputConfigType = GoogleCloudRetailV2CompletionDataInputConfig::class;
|
---|
| 29 | protected $denylistInputConfigDataType = '';
|
---|
| 30 | /**
|
---|
| 31 | * @var string
|
---|
| 32 | */
|
---|
| 33 | public $lastAllowlistImportOperation;
|
---|
| 34 | /**
|
---|
| 35 | * @var string
|
---|
| 36 | */
|
---|
| 37 | public $lastDenylistImportOperation;
|
---|
| 38 | /**
|
---|
| 39 | * @var string
|
---|
| 40 | */
|
---|
| 41 | public $lastSuggestionsImportOperation;
|
---|
| 42 | /**
|
---|
| 43 | * @var string
|
---|
| 44 | */
|
---|
| 45 | public $matchingOrder;
|
---|
| 46 | /**
|
---|
| 47 | * @var int
|
---|
| 48 | */
|
---|
| 49 | public $maxSuggestions;
|
---|
| 50 | /**
|
---|
| 51 | * @var int
|
---|
| 52 | */
|
---|
| 53 | public $minPrefixLength;
|
---|
| 54 | /**
|
---|
| 55 | * @var string
|
---|
| 56 | */
|
---|
| 57 | public $name;
|
---|
| 58 | protected $suggestionsInputConfigType = GoogleCloudRetailV2CompletionDataInputConfig::class;
|
---|
| 59 | protected $suggestionsInputConfigDataType = '';
|
---|
| 60 |
|
---|
| 61 | /**
|
---|
| 62 | * @param GoogleCloudRetailV2CompletionDataInputConfig
|
---|
| 63 | */
|
---|
| 64 | public function setAllowlistInputConfig(GoogleCloudRetailV2CompletionDataInputConfig $allowlistInputConfig)
|
---|
| 65 | {
|
---|
| 66 | $this->allowlistInputConfig = $allowlistInputConfig;
|
---|
| 67 | }
|
---|
| 68 | /**
|
---|
| 69 | * @return GoogleCloudRetailV2CompletionDataInputConfig
|
---|
| 70 | */
|
---|
| 71 | public function getAllowlistInputConfig()
|
---|
| 72 | {
|
---|
| 73 | return $this->allowlistInputConfig;
|
---|
| 74 | }
|
---|
| 75 | /**
|
---|
| 76 | * @param bool
|
---|
| 77 | */
|
---|
| 78 | public function setAutoLearning($autoLearning)
|
---|
| 79 | {
|
---|
| 80 | $this->autoLearning = $autoLearning;
|
---|
| 81 | }
|
---|
| 82 | /**
|
---|
| 83 | * @return bool
|
---|
| 84 | */
|
---|
| 85 | public function getAutoLearning()
|
---|
| 86 | {
|
---|
| 87 | return $this->autoLearning;
|
---|
| 88 | }
|
---|
| 89 | /**
|
---|
| 90 | * @param GoogleCloudRetailV2CompletionDataInputConfig
|
---|
| 91 | */
|
---|
| 92 | public function setDenylistInputConfig(GoogleCloudRetailV2CompletionDataInputConfig $denylistInputConfig)
|
---|
| 93 | {
|
---|
| 94 | $this->denylistInputConfig = $denylistInputConfig;
|
---|
| 95 | }
|
---|
| 96 | /**
|
---|
| 97 | * @return GoogleCloudRetailV2CompletionDataInputConfig
|
---|
| 98 | */
|
---|
| 99 | public function getDenylistInputConfig()
|
---|
| 100 | {
|
---|
| 101 | return $this->denylistInputConfig;
|
---|
| 102 | }
|
---|
| 103 | /**
|
---|
| 104 | * @param string
|
---|
| 105 | */
|
---|
| 106 | public function setLastAllowlistImportOperation($lastAllowlistImportOperation)
|
---|
| 107 | {
|
---|
| 108 | $this->lastAllowlistImportOperation = $lastAllowlistImportOperation;
|
---|
| 109 | }
|
---|
| 110 | /**
|
---|
| 111 | * @return string
|
---|
| 112 | */
|
---|
| 113 | public function getLastAllowlistImportOperation()
|
---|
| 114 | {
|
---|
| 115 | return $this->lastAllowlistImportOperation;
|
---|
| 116 | }
|
---|
| 117 | /**
|
---|
| 118 | * @param string
|
---|
| 119 | */
|
---|
| 120 | public function setLastDenylistImportOperation($lastDenylistImportOperation)
|
---|
| 121 | {
|
---|
| 122 | $this->lastDenylistImportOperation = $lastDenylistImportOperation;
|
---|
| 123 | }
|
---|
| 124 | /**
|
---|
| 125 | * @return string
|
---|
| 126 | */
|
---|
| 127 | public function getLastDenylistImportOperation()
|
---|
| 128 | {
|
---|
| 129 | return $this->lastDenylistImportOperation;
|
---|
| 130 | }
|
---|
| 131 | /**
|
---|
| 132 | * @param string
|
---|
| 133 | */
|
---|
| 134 | public function setLastSuggestionsImportOperation($lastSuggestionsImportOperation)
|
---|
| 135 | {
|
---|
| 136 | $this->lastSuggestionsImportOperation = $lastSuggestionsImportOperation;
|
---|
| 137 | }
|
---|
| 138 | /**
|
---|
| 139 | * @return string
|
---|
| 140 | */
|
---|
| 141 | public function getLastSuggestionsImportOperation()
|
---|
| 142 | {
|
---|
| 143 | return $this->lastSuggestionsImportOperation;
|
---|
| 144 | }
|
---|
| 145 | /**
|
---|
| 146 | * @param string
|
---|
| 147 | */
|
---|
| 148 | public function setMatchingOrder($matchingOrder)
|
---|
| 149 | {
|
---|
| 150 | $this->matchingOrder = $matchingOrder;
|
---|
| 151 | }
|
---|
| 152 | /**
|
---|
| 153 | * @return string
|
---|
| 154 | */
|
---|
| 155 | public function getMatchingOrder()
|
---|
| 156 | {
|
---|
| 157 | return $this->matchingOrder;
|
---|
| 158 | }
|
---|
| 159 | /**
|
---|
| 160 | * @param int
|
---|
| 161 | */
|
---|
| 162 | public function setMaxSuggestions($maxSuggestions)
|
---|
| 163 | {
|
---|
| 164 | $this->maxSuggestions = $maxSuggestions;
|
---|
| 165 | }
|
---|
| 166 | /**
|
---|
| 167 | * @return int
|
---|
| 168 | */
|
---|
| 169 | public function getMaxSuggestions()
|
---|
| 170 | {
|
---|
| 171 | return $this->maxSuggestions;
|
---|
| 172 | }
|
---|
| 173 | /**
|
---|
| 174 | * @param int
|
---|
| 175 | */
|
---|
| 176 | public function setMinPrefixLength($minPrefixLength)
|
---|
| 177 | {
|
---|
| 178 | $this->minPrefixLength = $minPrefixLength;
|
---|
| 179 | }
|
---|
| 180 | /**
|
---|
| 181 | * @return int
|
---|
| 182 | */
|
---|
| 183 | public function getMinPrefixLength()
|
---|
| 184 | {
|
---|
| 185 | return $this->minPrefixLength;
|
---|
| 186 | }
|
---|
| 187 | /**
|
---|
| 188 | * @param string
|
---|
| 189 | */
|
---|
| 190 | public function setName($name)
|
---|
| 191 | {
|
---|
| 192 | $this->name = $name;
|
---|
| 193 | }
|
---|
| 194 | /**
|
---|
| 195 | * @return string
|
---|
| 196 | */
|
---|
| 197 | public function getName()
|
---|
| 198 | {
|
---|
| 199 | return $this->name;
|
---|
| 200 | }
|
---|
| 201 | /**
|
---|
| 202 | * @param GoogleCloudRetailV2CompletionDataInputConfig
|
---|
| 203 | */
|
---|
| 204 | public function setSuggestionsInputConfig(GoogleCloudRetailV2CompletionDataInputConfig $suggestionsInputConfig)
|
---|
| 205 | {
|
---|
| 206 | $this->suggestionsInputConfig = $suggestionsInputConfig;
|
---|
| 207 | }
|
---|
| 208 | /**
|
---|
| 209 | * @return GoogleCloudRetailV2CompletionDataInputConfig
|
---|
| 210 | */
|
---|
| 211 | public function getSuggestionsInputConfig()
|
---|
| 212 | {
|
---|
| 213 | return $this->suggestionsInputConfig;
|
---|
| 214 | }
|
---|
| 215 | }
|
---|
| 216 |
|
---|
| 217 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 218 | class_alias(GoogleCloudRetailV2CompletionConfig::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2CompletionConfig');
|
---|