Skip to content

Commit 99727b0

Browse files
committed
Updated Prediction.php
1 parent 7fc887f commit 99727b0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Google/Service/Prediction.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ public function update($project, $id, Google_Service_Prediction_Update $postBody
363363

364364
class Google_Service_Prediction_Analyze extends Google_Collection
365365
{
366+
protected $collection_key = 'errors';
366367
protected $dataDescriptionType = 'Google_Service_Prediction_AnalyzeDataDescription';
367368
protected $dataDescriptionDataType = '';
368369
public $errors;
@@ -435,6 +436,7 @@ public function getSelfLink()
435436

436437
class Google_Service_Prediction_AnalyzeDataDescription extends Google_Collection
437438
{
439+
protected $collection_key = 'features';
438440
protected $featuresType = 'Google_Service_Prediction_AnalyzeDataDescriptionFeatures';
439441
protected $featuresDataType = 'array';
440442
protected $outputFeatureType = 'Google_Service_Prediction_AnalyzeDataDescriptionOutputFeature';
@@ -514,6 +516,7 @@ public function getText()
514516

515517
class Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategorical extends Google_Collection
516518
{
519+
protected $collection_key = 'values';
517520
public $count;
518521
protected $valuesType = 'Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategoricalValues';
519522
protected $valuesDataType = 'array';
@@ -619,6 +622,7 @@ public function getCount()
619622

620623
class Google_Service_Prediction_AnalyzeDataDescriptionOutputFeature extends Google_Collection
621624
{
625+
protected $collection_key = 'text';
622626
protected $numericType = 'Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureNumeric';
623627
protected $numericDataType = '';
624628
protected $textType = 'Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureText';
@@ -784,6 +788,7 @@ public function getInput()
784788

785789
class Google_Service_Prediction_InputInput extends Google_Collection
786790
{
791+
protected $collection_key = 'csvInstance';
787792
public $csvInstance;
788793

789794
public function setCsvInstance($csvInstance)
@@ -799,6 +804,7 @@ public function getCsvInstance()
799804

800805
class Google_Service_Prediction_Insert extends Google_Collection
801806
{
807+
protected $collection_key = 'utility';
802808
public $id;
803809
public $modelType;
804810
public $sourceModel;
@@ -1088,6 +1094,7 @@ public function getNumberLabels()
10881094

10891095
class Google_Service_Prediction_InsertTrainingInstances extends Google_Collection
10901096
{
1097+
protected $collection_key = 'csvInstance';
10911098
public $csvInstance;
10921099
public $output;
10931100

@@ -1119,6 +1126,7 @@ class Google_Service_Prediction_InsertUtility extends Google_Model
11191126

11201127
class Google_Service_Prediction_Output extends Google_Collection
11211128
{
1129+
protected $collection_key = 'outputMulti';
11221130
public $id;
11231131
public $kind;
11241132
public $outputLabel;
@@ -1216,6 +1224,7 @@ public function getScore()
12161224

12171225
class Google_Service_Prediction_PredictionList extends Google_Collection
12181226
{
1227+
protected $collection_key = 'items';
12191228
protected $itemsType = 'Google_Service_Prediction_Insert2';
12201229
protected $itemsDataType = 'array';
12211230
public $kind;
@@ -1265,6 +1274,7 @@ public function getSelfLink()
12651274

12661275
class Google_Service_Prediction_Update extends Google_Collection
12671276
{
1277+
protected $collection_key = 'csvInstance';
12681278
public $csvInstance;
12691279
public $output;
12701280

0 commit comments

Comments
 (0)