Skip to content

Commit 817a052

Browse files
1 parent ab08231 commit 817a052

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

src/Appengine/ProjectsMetadata.php

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,16 @@ class ProjectsMetadata extends \Google\Collection
7373
public $consumerProjectState;
7474
protected $gceTagType = GceTag::class;
7575
protected $gceTagDataType = 'array';
76+
/**
77+
* DEPRECATED: Indicates whether the GCE project is in the DEPROVISIONING
78+
* state. This field is a temporary workaround (see b/475310865) to allow GCE
79+
* extensions to bypass certain checks during deprovisioning. It will be
80+
* replaced by a permanent solution in the future.
81+
*
82+
* @deprecated
83+
* @var bool
84+
*/
85+
public $isGceProjectDeprovisioning;
7686
/**
7787
* The service account authorized to operate on the consumer project. Note:
7888
* CCFE only propagates P4SA with default tag to CLH.
@@ -175,6 +185,27 @@ public function getGceTag()
175185
{
176186
return $this->gceTag;
177187
}
188+
/**
189+
* DEPRECATED: Indicates whether the GCE project is in the DEPROVISIONING
190+
* state. This field is a temporary workaround (see b/475310865) to allow GCE
191+
* extensions to bypass certain checks during deprovisioning. It will be
192+
* replaced by a permanent solution in the future.
193+
*
194+
* @deprecated
195+
* @param bool $isGceProjectDeprovisioning
196+
*/
197+
public function setIsGceProjectDeprovisioning($isGceProjectDeprovisioning)
198+
{
199+
$this->isGceProjectDeprovisioning = $isGceProjectDeprovisioning;
200+
}
201+
/**
202+
* @deprecated
203+
* @return bool
204+
*/
205+
public function getIsGceProjectDeprovisioning()
206+
{
207+
return $this->isGceProjectDeprovisioning;
208+
}
178209
/**
179210
* The service account authorized to operate on the consumer project. Note:
180211
* CCFE only propagates P4SA with default tag to CLH.

0 commit comments

Comments
 (0)