Skip to content

Commit 16c9293

Browse files
1 parent 8d7cc3c commit 16c9293

1 file changed

Lines changed: 1 addition & 22 deletions

File tree

src/Recommender/GoogleCloudRecommenderV1Impact.php

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
namespace Google\Service\Recommender;
1919

20-
class GoogleCloudRecommenderV1Impact extends \Google\Collection
20+
class GoogleCloudRecommenderV1Impact extends \Google\Model
2121
{
2222
/**
2323
* Default unspecified category. Don't use directly.
@@ -47,7 +47,6 @@ class GoogleCloudRecommenderV1Impact extends \Google\Collection
4747
* Indicates a potential increase or decrease in reliability.
4848
*/
4949
public const CATEGORY_RELIABILITY = 'RELIABILITY';
50-
protected $collection_key = 'impactComponents';
5150
/**
5251
* Category that is being targeted.
5352
*
@@ -56,8 +55,6 @@ class GoogleCloudRecommenderV1Impact extends \Google\Collection
5655
public $category;
5756
protected $costProjectionType = GoogleCloudRecommenderV1CostProjection::class;
5857
protected $costProjectionDataType = '';
59-
protected $impactComponentsType = GoogleCloudRecommenderV1Impact::class;
60-
protected $impactComponentsDataType = 'array';
6158
protected $reliabilityProjectionType = GoogleCloudRecommenderV1ReliabilityProjection::class;
6259
protected $reliabilityProjectionDataType = '';
6360
protected $securityProjectionType = GoogleCloudRecommenderV1SecurityProjection::class;
@@ -106,24 +103,6 @@ public function getCostProjection()
106103
{
107104
return $this->costProjection;
108105
}
109-
/**
110-
* If populated, the impact contains multiple components. In this case, the
111-
* top-level impact contains aggregated values and each component contains
112-
* per-service details.
113-
*
114-
* @param GoogleCloudRecommenderV1Impact[] $impactComponents
115-
*/
116-
public function setImpactComponents($impactComponents)
117-
{
118-
$this->impactComponents = $impactComponents;
119-
}
120-
/**
121-
* @return GoogleCloudRecommenderV1Impact[]
122-
*/
123-
public function getImpactComponents()
124-
{
125-
return $this->impactComponents;
126-
}
127106
/**
128107
* Use with CategoryType.RELIABILITY
129108
*

0 commit comments

Comments
 (0)