source: vendor/google/apiclient-services/src/Recommender/GoogleCloudRecommenderV1Recommendation.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.4 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\Recommender;
19
20class GoogleCloudRecommenderV1Recommendation extends \Google\Collection
21{
22 protected $collection_key = 'targetResources';
23 protected $additionalImpactType = GoogleCloudRecommenderV1Impact::class;
24 protected $additionalImpactDataType = 'array';
25 protected $associatedInsightsType = GoogleCloudRecommenderV1RecommendationInsightReference::class;
26 protected $associatedInsightsDataType = 'array';
27 protected $contentType = GoogleCloudRecommenderV1RecommendationContent::class;
28 protected $contentDataType = '';
29 /**
30 * @var string
31 */
32 public $description;
33 /**
34 * @var string
35 */
36 public $etag;
37 /**
38 * @var string
39 */
40 public $lastRefreshTime;
41 /**
42 * @var string
43 */
44 public $name;
45 protected $primaryImpactType = GoogleCloudRecommenderV1Impact::class;
46 protected $primaryImpactDataType = '';
47 /**
48 * @var string
49 */
50 public $priority;
51 /**
52 * @var string
53 */
54 public $recommenderSubtype;
55 protected $stateInfoType = GoogleCloudRecommenderV1RecommendationStateInfo::class;
56 protected $stateInfoDataType = '';
57 /**
58 * @var string[]
59 */
60 public $targetResources;
61 /**
62 * @var string
63 */
64 public $xorGroupId;
65
66 /**
67 * @param GoogleCloudRecommenderV1Impact[]
68 */
69 public function setAdditionalImpact($additionalImpact)
70 {
71 $this->additionalImpact = $additionalImpact;
72 }
73 /**
74 * @return GoogleCloudRecommenderV1Impact[]
75 */
76 public function getAdditionalImpact()
77 {
78 return $this->additionalImpact;
79 }
80 /**
81 * @param GoogleCloudRecommenderV1RecommendationInsightReference[]
82 */
83 public function setAssociatedInsights($associatedInsights)
84 {
85 $this->associatedInsights = $associatedInsights;
86 }
87 /**
88 * @return GoogleCloudRecommenderV1RecommendationInsightReference[]
89 */
90 public function getAssociatedInsights()
91 {
92 return $this->associatedInsights;
93 }
94 /**
95 * @param GoogleCloudRecommenderV1RecommendationContent
96 */
97 public function setContent(GoogleCloudRecommenderV1RecommendationContent $content)
98 {
99 $this->content = $content;
100 }
101 /**
102 * @return GoogleCloudRecommenderV1RecommendationContent
103 */
104 public function getContent()
105 {
106 return $this->content;
107 }
108 /**
109 * @param string
110 */
111 public function setDescription($description)
112 {
113 $this->description = $description;
114 }
115 /**
116 * @return string
117 */
118 public function getDescription()
119 {
120 return $this->description;
121 }
122 /**
123 * @param string
124 */
125 public function setEtag($etag)
126 {
127 $this->etag = $etag;
128 }
129 /**
130 * @return string
131 */
132 public function getEtag()
133 {
134 return $this->etag;
135 }
136 /**
137 * @param string
138 */
139 public function setLastRefreshTime($lastRefreshTime)
140 {
141 $this->lastRefreshTime = $lastRefreshTime;
142 }
143 /**
144 * @return string
145 */
146 public function getLastRefreshTime()
147 {
148 return $this->lastRefreshTime;
149 }
150 /**
151 * @param string
152 */
153 public function setName($name)
154 {
155 $this->name = $name;
156 }
157 /**
158 * @return string
159 */
160 public function getName()
161 {
162 return $this->name;
163 }
164 /**
165 * @param GoogleCloudRecommenderV1Impact
166 */
167 public function setPrimaryImpact(GoogleCloudRecommenderV1Impact $primaryImpact)
168 {
169 $this->primaryImpact = $primaryImpact;
170 }
171 /**
172 * @return GoogleCloudRecommenderV1Impact
173 */
174 public function getPrimaryImpact()
175 {
176 return $this->primaryImpact;
177 }
178 /**
179 * @param string
180 */
181 public function setPriority($priority)
182 {
183 $this->priority = $priority;
184 }
185 /**
186 * @return string
187 */
188 public function getPriority()
189 {
190 return $this->priority;
191 }
192 /**
193 * @param string
194 */
195 public function setRecommenderSubtype($recommenderSubtype)
196 {
197 $this->recommenderSubtype = $recommenderSubtype;
198 }
199 /**
200 * @return string
201 */
202 public function getRecommenderSubtype()
203 {
204 return $this->recommenderSubtype;
205 }
206 /**
207 * @param GoogleCloudRecommenderV1RecommendationStateInfo
208 */
209 public function setStateInfo(GoogleCloudRecommenderV1RecommendationStateInfo $stateInfo)
210 {
211 $this->stateInfo = $stateInfo;
212 }
213 /**
214 * @return GoogleCloudRecommenderV1RecommendationStateInfo
215 */
216 public function getStateInfo()
217 {
218 return $this->stateInfo;
219 }
220 /**
221 * @param string[]
222 */
223 public function setTargetResources($targetResources)
224 {
225 $this->targetResources = $targetResources;
226 }
227 /**
228 * @return string[]
229 */
230 public function getTargetResources()
231 {
232 return $this->targetResources;
233 }
234 /**
235 * @param string
236 */
237 public function setXorGroupId($xorGroupId)
238 {
239 $this->xorGroupId = $xorGroupId;
240 }
241 /**
242 * @return string
243 */
244 public function getXorGroupId()
245 {
246 return $this->xorGroupId;
247 }
248}
249
250// Adding a class alias for backwards compatibility with the previous class name.
251class_alias(GoogleCloudRecommenderV1Recommendation::class, 'Google_Service_Recommender_GoogleCloudRecommenderV1Recommendation');
Note: See TracBrowser for help on using the repository browser.