source: vendor/google/apiclient-services/src/DiscoveryEngine/GoogleCloudDiscoveryengineV1betaAnswerQueryRequest.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.1 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 GoogleCloudDiscoveryengineV1betaAnswerQueryRequest extends \Google\Model
21{
22 protected $answerGenerationSpecType = GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec::class;
23 protected $answerGenerationSpecDataType = '';
24 /**
25 * @var bool
26 */
27 public $asynchronousMode;
28 protected $queryType = GoogleCloudDiscoveryengineV1betaQuery::class;
29 protected $queryDataType = '';
30 protected $queryUnderstandingSpecType = GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec::class;
31 protected $queryUnderstandingSpecDataType = '';
32 protected $relatedQuestionsSpecType = GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec::class;
33 protected $relatedQuestionsSpecDataType = '';
34 protected $safetySpecType = GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpec::class;
35 protected $safetySpecDataType = '';
36 protected $searchSpecType = GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec::class;
37 protected $searchSpecDataType = '';
38 /**
39 * @var string
40 */
41 public $session;
42 /**
43 * @var string
44 */
45 public $userPseudoId;
46
47 /**
48 * @param GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec
49 */
50 public function setAnswerGenerationSpec(GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec $answerGenerationSpec)
51 {
52 $this->answerGenerationSpec = $answerGenerationSpec;
53 }
54 /**
55 * @return GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec
56 */
57 public function getAnswerGenerationSpec()
58 {
59 return $this->answerGenerationSpec;
60 }
61 /**
62 * @param bool
63 */
64 public function setAsynchronousMode($asynchronousMode)
65 {
66 $this->asynchronousMode = $asynchronousMode;
67 }
68 /**
69 * @return bool
70 */
71 public function getAsynchronousMode()
72 {
73 return $this->asynchronousMode;
74 }
75 /**
76 * @param GoogleCloudDiscoveryengineV1betaQuery
77 */
78 public function setQuery(GoogleCloudDiscoveryengineV1betaQuery $query)
79 {
80 $this->query = $query;
81 }
82 /**
83 * @return GoogleCloudDiscoveryengineV1betaQuery
84 */
85 public function getQuery()
86 {
87 return $this->query;
88 }
89 /**
90 * @param GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec
91 */
92 public function setQueryUnderstandingSpec(GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec $queryUnderstandingSpec)
93 {
94 $this->queryUnderstandingSpec = $queryUnderstandingSpec;
95 }
96 /**
97 * @return GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec
98 */
99 public function getQueryUnderstandingSpec()
100 {
101 return $this->queryUnderstandingSpec;
102 }
103 /**
104 * @param GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec
105 */
106 public function setRelatedQuestionsSpec(GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec $relatedQuestionsSpec)
107 {
108 $this->relatedQuestionsSpec = $relatedQuestionsSpec;
109 }
110 /**
111 * @return GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec
112 */
113 public function getRelatedQuestionsSpec()
114 {
115 return $this->relatedQuestionsSpec;
116 }
117 /**
118 * @param GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpec
119 */
120 public function setSafetySpec(GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpec $safetySpec)
121 {
122 $this->safetySpec = $safetySpec;
123 }
124 /**
125 * @return GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpec
126 */
127 public function getSafetySpec()
128 {
129 return $this->safetySpec;
130 }
131 /**
132 * @param GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec
133 */
134 public function setSearchSpec(GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec $searchSpec)
135 {
136 $this->searchSpec = $searchSpec;
137 }
138 /**
139 * @return GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec
140 */
141 public function getSearchSpec()
142 {
143 return $this->searchSpec;
144 }
145 /**
146 * @param string
147 */
148 public function setSession($session)
149 {
150 $this->session = $session;
151 }
152 /**
153 * @return string
154 */
155 public function getSession()
156 {
157 return $this->session;
158 }
159 /**
160 * @param string
161 */
162 public function setUserPseudoId($userPseudoId)
163 {
164 $this->userPseudoId = $userPseudoId;
165 }
166 /**
167 * @return string
168 */
169 public function getUserPseudoId()
170 {
171 return $this->userPseudoId;
172 }
173}
174
175// Adding a class alias for backwards compatibility with the previous class name.
176class_alias(GoogleCloudDiscoveryengineV1betaAnswerQueryRequest::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1betaAnswerQueryRequest');
Note: See TracBrowser for help on using the repository browser.