Skip to content

Commit 1319b2f

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 f985b38 commit 1319b2f

1 file changed

Lines changed: 26 additions & 8 deletions

File tree

src/Google/Service/Replicapoolupdater.php

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*
2525
* <p>
2626
* For more information about this service, see the API
27-
* <a href="https://developers.google.com/compute/docs/instance-groups/manager/v1beta2" target="_blank">Documentation</a>
27+
* <a href="https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service" target="_blank">Documentation</a>
2828
* </p>
2929
*
3030
* @author Google, Inc.
@@ -336,8 +336,8 @@ public function listUpdates($project, $zone, $instanceGroupManager, $optParams =
336336
}
337337

338338
/**
339-
* Called on the particular Update endpoint. Pauses the update in state from {
340-
* ROLLING_FORWARD, ROLLING_BACK, PAUSED }. No-op if invoked in state PAUSED.
339+
* Called on the particular Update endpoint. Pauses the update in state
340+
* ROLLING_FORWARD or ROLLING_BACK. No-op if invoked in state PAUSED.
341341
* (updates.pause)
342342
*
343343
* @param string $project Project ID for this request.
@@ -355,9 +355,9 @@ public function pause($project, $zone, $instanceGroupManager, $update, $optParam
355355
}
356356

357357
/**
358-
* Called on the particular Update endpoint. Rolls back the update in state from
359-
* { ROLLING_FORWARD, ROLLING_BACK, PAUSED }. No-op if invoked in state
360-
* ROLLED_BACK. (updates.rollback)
358+
* Called on the particular Update endpoint. Rolls back the update in state
359+
* ROLLING_FORWARD or PAUSED. No-op if invoked in state ROLLED_BACK or
360+
* ROLLING_BACK. (updates.rollback)
361361
*
362362
* @param string $project Project ID for this request.
363363
* @param string $zone Zone for the instance group manager.
@@ -375,8 +375,8 @@ public function rollback($project, $zone, $instanceGroupManager, $update, $optPa
375375

376376
/**
377377
* Called on the particular Update endpoint. Rolls forward the update in state
378-
* from { ROLLING_FORWARD, ROLLING_BACK, PAUSED }. No-op if invoked in state
379-
* ROLLED_OUT. (updates.rollforward)
378+
* ROLLING_BACK or PAUSED. No-op if invoked in state ROLLED_OUT or
379+
* ROLLING_FORWARD. (updates.rollforward)
380380
*
381381
* @param string $project Project ID for this request.
382382
* @param string $zone Zone for the instance group manager.
@@ -444,6 +444,7 @@ class Google_Service_Replicapoolupdater_Update extends Google_Collection
444444
protected $collection_key = 'instanceUpdates';
445445
protected $internal_gapi_mappings = array(
446446
);
447+
public $creationTimestamp;
447448
public $details;
448449
public $handle;
449450
public $instanceTemplate;
@@ -455,8 +456,17 @@ class Google_Service_Replicapoolupdater_Update extends Google_Collection
455456
public $selfLink;
456457
public $state;
457458
public $targetState;
459+
public $user;
458460

459461

462+
public function setCreationTimestamp($creationTimestamp)
463+
{
464+
$this->creationTimestamp = $creationTimestamp;
465+
}
466+
public function getCreationTimestamp()
467+
{
468+
return $this->creationTimestamp;
469+
}
460470
public function setDetails($details)
461471
{
462472
$this->details = $details;
@@ -529,6 +539,14 @@ public function getTargetState()
529539
{
530540
return $this->targetState;
531541
}
542+
public function setUser($user)
543+
{
544+
$this->user = $user;
545+
}
546+
public function getUser()
547+
{
548+
return $this->user;
549+
}
532550
}
533551

534552
class Google_Service_Replicapoolupdater_UpdateList extends Google_Collection

0 commit comments

Comments
 (0)