Skip to content

Commit 29b6483

Browse files
committed
Updated Replicapoolupdater.php
This change has been generated by a script that has detected changes in the discovery doc of the API. Check http://developers.google.com/discovery for more info.
1 parent 82c16d0 commit 29b6483

File tree

1 file changed

+100
-0
lines changed

1 file changed

+100
-0
lines changed

src/Google/Service/Replicapoolupdater.php

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,8 @@ class Google_Service_Replicapoolupdater_RollingUpdate extends Google_Model
951951
public $actionType;
952952
public $creationTimestamp;
953953
public $description;
954+
protected $errorType = 'Google_Service_Replicapoolupdater_RollingUpdateError';
955+
protected $errorDataType = '';
954956
public $id;
955957
public $instanceGroup;
956958
public $instanceGroupManager;
@@ -989,6 +991,14 @@ public function getDescription()
989991
{
990992
return $this->description;
991993
}
994+
public function setError(Google_Service_Replicapoolupdater_RollingUpdateError $error)
995+
{
996+
$this->error = $error;
997+
}
998+
public function getError()
999+
{
1000+
return $this->error;
1001+
}
9921002
public function setId($id)
9931003
{
9941004
$this->id = $id;
@@ -1079,6 +1089,60 @@ public function getUser()
10791089
}
10801090
}
10811091

1092+
class Google_Service_Replicapoolupdater_RollingUpdateError extends Google_Collection
1093+
{
1094+
protected $collection_key = 'errors';
1095+
protected $internal_gapi_mappings = array(
1096+
);
1097+
protected $errorsType = 'Google_Service_Replicapoolupdater_RollingUpdateErrorErrors';
1098+
protected $errorsDataType = 'array';
1099+
1100+
1101+
public function setErrors($errors)
1102+
{
1103+
$this->errors = $errors;
1104+
}
1105+
public function getErrors()
1106+
{
1107+
return $this->errors;
1108+
}
1109+
}
1110+
1111+
class Google_Service_Replicapoolupdater_RollingUpdateErrorErrors extends Google_Model
1112+
{
1113+
protected $internal_gapi_mappings = array(
1114+
);
1115+
public $code;
1116+
public $location;
1117+
public $message;
1118+
1119+
1120+
public function setCode($code)
1121+
{
1122+
$this->code = $code;
1123+
}
1124+
public function getCode()
1125+
{
1126+
return $this->code;
1127+
}
1128+
public function setLocation($location)
1129+
{
1130+
$this->location = $location;
1131+
}
1132+
public function getLocation()
1133+
{
1134+
return $this->location;
1135+
}
1136+
public function setMessage($message)
1137+
{
1138+
$this->message = $message;
1139+
}
1140+
public function getMessage()
1141+
{
1142+
return $this->message;
1143+
}
1144+
}
1145+
10821146
class Google_Service_Replicapoolupdater_RollingUpdateList extends Google_Collection
10831147
{
10841148
protected $collection_key = 'items';
@@ -1129,12 +1193,24 @@ class Google_Service_Replicapoolupdater_RollingUpdatePolicy extends Google_Model
11291193
{
11301194
protected $internal_gapi_mappings = array(
11311195
);
1196+
public $autoPauseAfterInstances;
11321197
protected $canaryType = 'Google_Service_Replicapoolupdater_RollingUpdatePolicyCanary';
11331198
protected $canaryDataType = '';
1199+
public $instanceStartupTimeoutSec;
11341200
public $maxNumConcurrentInstances;
1201+
public $maxNumFailedInstances;
1202+
public $minInstanceUpdateTimeSec;
11351203
public $sleepAfterInstanceRestartSec;
11361204

11371205

1206+
public function setAutoPauseAfterInstances($autoPauseAfterInstances)
1207+
{
1208+
$this->autoPauseAfterInstances = $autoPauseAfterInstances;
1209+
}
1210+
public function getAutoPauseAfterInstances()
1211+
{
1212+
return $this->autoPauseAfterInstances;
1213+
}
11381214
public function setCanary(Google_Service_Replicapoolupdater_RollingUpdatePolicyCanary $canary)
11391215
{
11401216
$this->canary = $canary;
@@ -1143,6 +1219,14 @@ public function getCanary()
11431219
{
11441220
return $this->canary;
11451221
}
1222+
public function setInstanceStartupTimeoutSec($instanceStartupTimeoutSec)
1223+
{
1224+
$this->instanceStartupTimeoutSec = $instanceStartupTimeoutSec;
1225+
}
1226+
public function getInstanceStartupTimeoutSec()
1227+
{
1228+
return $this->instanceStartupTimeoutSec;
1229+
}
11461230
public function setMaxNumConcurrentInstances($maxNumConcurrentInstances)
11471231
{
11481232
$this->maxNumConcurrentInstances = $maxNumConcurrentInstances;
@@ -1151,6 +1235,22 @@ public function getMaxNumConcurrentInstances()
11511235
{
11521236
return $this->maxNumConcurrentInstances;
11531237
}
1238+
public function setMaxNumFailedInstances($maxNumFailedInstances)
1239+
{
1240+
$this->maxNumFailedInstances = $maxNumFailedInstances;
1241+
}
1242+
public function getMaxNumFailedInstances()
1243+
{
1244+
return $this->maxNumFailedInstances;
1245+
}
1246+
public function setMinInstanceUpdateTimeSec($minInstanceUpdateTimeSec)
1247+
{
1248+
$this->minInstanceUpdateTimeSec = $minInstanceUpdateTimeSec;
1249+
}
1250+
public function getMinInstanceUpdateTimeSec()
1251+
{
1252+
return $this->minInstanceUpdateTimeSec;
1253+
}
11541254
public function setSleepAfterInstanceRestartSec($sleepAfterInstanceRestartSec)
11551255
{
11561256
$this->sleepAfterInstanceRestartSec = $sleepAfterInstanceRestartSec;

0 commit comments

Comments
 (0)