source: vendor/google/apiclient-services/src/DiscoveryEngine/GoogleCloudDiscoveryengineV1Control.php

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

Upload project files

  • Property mode set to 100644
File size: 5.2 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\DiscoveryEngine;
19
20class GoogleCloudDiscoveryengineV1Control extends \Google\Collection
21{
22 protected $collection_key = 'useCases';
23 /**
24 * @var string[]
25 */
26 public $associatedServingConfigIds;
27 protected $boostActionType = GoogleCloudDiscoveryengineV1ControlBoostAction::class;
28 protected $boostActionDataType = '';
29 protected $conditionsType = GoogleCloudDiscoveryengineV1Condition::class;
30 protected $conditionsDataType = 'array';
31 /**
32 * @var string
33 */
34 public $displayName;
35 protected $filterActionType = GoogleCloudDiscoveryengineV1ControlFilterAction::class;
36 protected $filterActionDataType = '';
37 /**
38 * @var string
39 */
40 public $name;
41 protected $promoteActionType = GoogleCloudDiscoveryengineV1ControlPromoteAction::class;
42 protected $promoteActionDataType = '';
43 protected $redirectActionType = GoogleCloudDiscoveryengineV1ControlRedirectAction::class;
44 protected $redirectActionDataType = '';
45 /**
46 * @var string
47 */
48 public $solutionType;
49 protected $synonymsActionType = GoogleCloudDiscoveryengineV1ControlSynonymsAction::class;
50 protected $synonymsActionDataType = '';
51 /**
52 * @var string[]
53 */
54 public $useCases;
55
56 /**
57 * @param string[]
58 */
59 public function setAssociatedServingConfigIds($associatedServingConfigIds)
60 {
61 $this->associatedServingConfigIds = $associatedServingConfigIds;
62 }
63 /**
64 * @return string[]
65 */
66 public function getAssociatedServingConfigIds()
67 {
68 return $this->associatedServingConfigIds;
69 }
70 /**
71 * @param GoogleCloudDiscoveryengineV1ControlBoostAction
72 */
73 public function setBoostAction(GoogleCloudDiscoveryengineV1ControlBoostAction $boostAction)
74 {
75 $this->boostAction = $boostAction;
76 }
77 /**
78 * @return GoogleCloudDiscoveryengineV1ControlBoostAction
79 */
80 public function getBoostAction()
81 {
82 return $this->boostAction;
83 }
84 /**
85 * @param GoogleCloudDiscoveryengineV1Condition[]
86 */
87 public function setConditions($conditions)
88 {
89 $this->conditions = $conditions;
90 }
91 /**
92 * @return GoogleCloudDiscoveryengineV1Condition[]
93 */
94 public function getConditions()
95 {
96 return $this->conditions;
97 }
98 /**
99 * @param string
100 */
101 public function setDisplayName($displayName)
102 {
103 $this->displayName = $displayName;
104 }
105 /**
106 * @return string
107 */
108 public function getDisplayName()
109 {
110 return $this->displayName;
111 }
112 /**
113 * @param GoogleCloudDiscoveryengineV1ControlFilterAction
114 */
115 public function setFilterAction(GoogleCloudDiscoveryengineV1ControlFilterAction $filterAction)
116 {
117 $this->filterAction = $filterAction;
118 }
119 /**
120 * @return GoogleCloudDiscoveryengineV1ControlFilterAction
121 */
122 public function getFilterAction()
123 {
124 return $this->filterAction;
125 }
126 /**
127 * @param string
128 */
129 public function setName($name)
130 {
131 $this->name = $name;
132 }
133 /**
134 * @return string
135 */
136 public function getName()
137 {
138 return $this->name;
139 }
140 /**
141 * @param GoogleCloudDiscoveryengineV1ControlPromoteAction
142 */
143 public function setPromoteAction(GoogleCloudDiscoveryengineV1ControlPromoteAction $promoteAction)
144 {
145 $this->promoteAction = $promoteAction;
146 }
147 /**
148 * @return GoogleCloudDiscoveryengineV1ControlPromoteAction
149 */
150 public function getPromoteAction()
151 {
152 return $this->promoteAction;
153 }
154 /**
155 * @param GoogleCloudDiscoveryengineV1ControlRedirectAction
156 */
157 public function setRedirectAction(GoogleCloudDiscoveryengineV1ControlRedirectAction $redirectAction)
158 {
159 $this->redirectAction = $redirectAction;
160 }
161 /**
162 * @return GoogleCloudDiscoveryengineV1ControlRedirectAction
163 */
164 public function getRedirectAction()
165 {
166 return $this->redirectAction;
167 }
168 /**
169 * @param string
170 */
171 public function setSolutionType($solutionType)
172 {
173 $this->solutionType = $solutionType;
174 }
175 /**
176 * @return string
177 */
178 public function getSolutionType()
179 {
180 return $this->solutionType;
181 }
182 /**
183 * @param GoogleCloudDiscoveryengineV1ControlSynonymsAction
184 */
185 public function setSynonymsAction(GoogleCloudDiscoveryengineV1ControlSynonymsAction $synonymsAction)
186 {
187 $this->synonymsAction = $synonymsAction;
188 }
189 /**
190 * @return GoogleCloudDiscoveryengineV1ControlSynonymsAction
191 */
192 public function getSynonymsAction()
193 {
194 return $this->synonymsAction;
195 }
196 /**
197 * @param string[]
198 */
199 public function setUseCases($useCases)
200 {
201 $this->useCases = $useCases;
202 }
203 /**
204 * @return string[]
205 */
206 public function getUseCases()
207 {
208 return $this->useCases;
209 }
210}
211
212// Adding a class alias for backwards compatibility with the previous class name.
213class_alias(GoogleCloudDiscoveryengineV1Control::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1Control');
Note: See TracBrowser for help on using the repository browser.