Skip to content

Commit 0fe965f

Browse files
1 parent af2a196 commit 0fe965f

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

src/BackupforGKE/Backup.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,13 @@ class Backup extends \Google\Model
147147
* @var string
148148
*/
149149
public $name;
150+
/**
151+
* Output only. The total number of user managed namespaces contained in the
152+
* Backup.
153+
*
154+
* @var int
155+
*/
156+
public $namespaceCount;
150157
/**
151158
* Output only. If false, Backup will fail when Backup for GKE detects
152159
* Kubernetes configuration that is non-standard or requires additional setup
@@ -508,6 +515,23 @@ public function getName()
508515
{
509516
return $this->name;
510517
}
518+
/**
519+
* Output only. The total number of user managed namespaces contained in the
520+
* Backup.
521+
*
522+
* @param int $namespaceCount
523+
*/
524+
public function setNamespaceCount($namespaceCount)
525+
{
526+
$this->namespaceCount = $namespaceCount;
527+
}
528+
/**
529+
* @return int
530+
*/
531+
public function getNamespaceCount()
532+
{
533+
return $this->namespaceCount;
534+
}
511535
/**
512536
* Output only. If false, Backup will fail when Backup for GKE detects
513537
* Kubernetes configuration that is non-standard or requires additional setup

src/BackupforGKE/BackupPlan.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,13 @@ class BackupPlan extends \Google\Model
124124
* @var string
125125
*/
126126
public $name;
127+
/**
128+
* Output only. The number of user managed namespaces backed up in the last
129+
* successful Backup created via this BackupPlan.
130+
*
131+
* @var int
132+
*/
133+
public $protectedNamespaceCount;
127134
/**
128135
* Output only. The number of Kubernetes Pods backed up in the last successful
129136
* Backup created via this BackupPlan.
@@ -374,6 +381,23 @@ public function getName()
374381
{
375382
return $this->name;
376383
}
384+
/**
385+
* Output only. The number of user managed namespaces backed up in the last
386+
* successful Backup created via this BackupPlan.
387+
*
388+
* @param int $protectedNamespaceCount
389+
*/
390+
public function setProtectedNamespaceCount($protectedNamespaceCount)
391+
{
392+
$this->protectedNamespaceCount = $protectedNamespaceCount;
393+
}
394+
/**
395+
* @return int
396+
*/
397+
public function getProtectedNamespaceCount()
398+
{
399+
return $this->protectedNamespaceCount;
400+
}
377401
/**
378402
* Output only. The number of Kubernetes Pods backed up in the last successful
379403
* Backup created via this BackupPlan.

0 commit comments

Comments
 (0)