source: vendor/google/apiclient-services/src/Recommender/GoogleCloudRecommenderV1Impact.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 4.0 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 GoogleCloudRecommenderV1Impact extends \Google\Collection
21{
22 protected $collection_key = 'impactComponents';
23 /**
24 * @var string
25 */
26 public $category;
27 protected $costProjectionType = GoogleCloudRecommenderV1CostProjection::class;
28 protected $costProjectionDataType = '';
29 protected $impactComponentsType = GoogleCloudRecommenderV1Impact::class;
30 protected $impactComponentsDataType = 'array';
31 protected $reliabilityProjectionType = GoogleCloudRecommenderV1ReliabilityProjection::class;
32 protected $reliabilityProjectionDataType = '';
33 protected $securityProjectionType = GoogleCloudRecommenderV1SecurityProjection::class;
34 protected $securityProjectionDataType = '';
35 /**
36 * @var string
37 */
38 public $service;
39 protected $sustainabilityProjectionType = GoogleCloudRecommenderV1SustainabilityProjection::class;
40 protected $sustainabilityProjectionDataType = '';
41
42 /**
43 * @param string
44 */
45 public function setCategory($category)
46 {
47 $this->category = $category;
48 }
49 /**
50 * @return string
51 */
52 public function getCategory()
53 {
54 return $this->category;
55 }
56 /**
57 * @param GoogleCloudRecommenderV1CostProjection
58 */
59 public function setCostProjection(GoogleCloudRecommenderV1CostProjection $costProjection)
60 {
61 $this->costProjection = $costProjection;
62 }
63 /**
64 * @return GoogleCloudRecommenderV1CostProjection
65 */
66 public function getCostProjection()
67 {
68 return $this->costProjection;
69 }
70 /**
71 * @param GoogleCloudRecommenderV1Impact[]
72 */
73 public function setImpactComponents($impactComponents)
74 {
75 $this->impactComponents = $impactComponents;
76 }
77 /**
78 * @return GoogleCloudRecommenderV1Impact[]
79 */
80 public function getImpactComponents()
81 {
82 return $this->impactComponents;
83 }
84 /**
85 * @param GoogleCloudRecommenderV1ReliabilityProjection
86 */
87 public function setReliabilityProjection(GoogleCloudRecommenderV1ReliabilityProjection $reliabilityProjection)
88 {
89 $this->reliabilityProjection = $reliabilityProjection;
90 }
91 /**
92 * @return GoogleCloudRecommenderV1ReliabilityProjection
93 */
94 public function getReliabilityProjection()
95 {
96 return $this->reliabilityProjection;
97 }
98 /**
99 * @param GoogleCloudRecommenderV1SecurityProjection
100 */
101 public function setSecurityProjection(GoogleCloudRecommenderV1SecurityProjection $securityProjection)
102 {
103 $this->securityProjection = $securityProjection;
104 }
105 /**
106 * @return GoogleCloudRecommenderV1SecurityProjection
107 */
108 public function getSecurityProjection()
109 {
110 return $this->securityProjection;
111 }
112 /**
113 * @param string
114 */
115 public function setService($service)
116 {
117 $this->service = $service;
118 }
119 /**
120 * @return string
121 */
122 public function getService()
123 {
124 return $this->service;
125 }
126 /**
127 * @param GoogleCloudRecommenderV1SustainabilityProjection
128 */
129 public function setSustainabilityProjection(GoogleCloudRecommenderV1SustainabilityProjection $sustainabilityProjection)
130 {
131 $this->sustainabilityProjection = $sustainabilityProjection;
132 }
133 /**
134 * @return GoogleCloudRecommenderV1SustainabilityProjection
135 */
136 public function getSustainabilityProjection()
137 {
138 return $this->sustainabilityProjection;
139 }
140}
141
142// Adding a class alias for backwards compatibility with the previous class name.
143class_alias(GoogleCloudRecommenderV1Impact::class, 'Google_Service_Recommender_GoogleCloudRecommenderV1Impact');
Note: See TracBrowser for help on using the repository browser.