source: vendor/google/apiclient-services/src/DiscoveryEngine/GoogleCloudDiscoveryengineV1CompletionSuggestion.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: 2.8 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 GoogleCloudDiscoveryengineV1CompletionSuggestion extends \Google\Collection
21{
22 protected $collection_key = 'alternativePhrases';
23 /**
24 * @var string[]
25 */
26 public $alternativePhrases;
27 /**
28 * @var string
29 */
30 public $frequency;
31 public $globalScore;
32 /**
33 * @var string
34 */
35 public $groupId;
36 public $groupScore;
37 /**
38 * @var string
39 */
40 public $languageCode;
41 /**
42 * @var string
43 */
44 public $suggestion;
45
46 /**
47 * @param string[]
48 */
49 public function setAlternativePhrases($alternativePhrases)
50 {
51 $this->alternativePhrases = $alternativePhrases;
52 }
53 /**
54 * @return string[]
55 */
56 public function getAlternativePhrases()
57 {
58 return $this->alternativePhrases;
59 }
60 /**
61 * @param string
62 */
63 public function setFrequency($frequency)
64 {
65 $this->frequency = $frequency;
66 }
67 /**
68 * @return string
69 */
70 public function getFrequency()
71 {
72 return $this->frequency;
73 }
74 public function setGlobalScore($globalScore)
75 {
76 $this->globalScore = $globalScore;
77 }
78 public function getGlobalScore()
79 {
80 return $this->globalScore;
81 }
82 /**
83 * @param string
84 */
85 public function setGroupId($groupId)
86 {
87 $this->groupId = $groupId;
88 }
89 /**
90 * @return string
91 */
92 public function getGroupId()
93 {
94 return $this->groupId;
95 }
96 public function setGroupScore($groupScore)
97 {
98 $this->groupScore = $groupScore;
99 }
100 public function getGroupScore()
101 {
102 return $this->groupScore;
103 }
104 /**
105 * @param string
106 */
107 public function setLanguageCode($languageCode)
108 {
109 $this->languageCode = $languageCode;
110 }
111 /**
112 * @return string
113 */
114 public function getLanguageCode()
115 {
116 return $this->languageCode;
117 }
118 /**
119 * @param string
120 */
121 public function setSuggestion($suggestion)
122 {
123 $this->suggestion = $suggestion;
124 }
125 /**
126 * @return string
127 */
128 public function getSuggestion()
129 {
130 return $this->suggestion;
131 }
132}
133
134// Adding a class alias for backwards compatibility with the previous class name.
135class_alias(GoogleCloudDiscoveryengineV1CompletionSuggestion::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1CompletionSuggestion');
Note: See TracBrowser for help on using the repository browser.