Skip to content

Commit 4e7d87b

Browse files
1 parent d8030f4 commit 4e7d87b

2 files changed

Lines changed: 11 additions & 33 deletions

File tree

src/Firestore/GoogleFirestoreAdminV1Backup.php

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ class GoogleFirestoreAdminV1Backup extends \Google\Model
5858
public $expireTime;
5959
/**
6060
* Output only. The unique resource name of the Backup. Format is
61-
* `projects/{project}/locations/{location}/backups/{backup}`.
61+
* `projects/{project}/locations/{location}/backups/{backup}`. The location in
62+
* the name will be the Standard Managed Multi-Region (SMMR) location (e.g.
63+
* `us`) if the backup was created with an SMMR location, or the Google
64+
* Managed Multi-Region (GMMR) location (e.g. `nam5`) if the backup was
65+
* created with a GMMR location.
6266
*
6367
* @var string
6468
*/
@@ -131,7 +135,11 @@ public function getExpireTime()
131135
}
132136
/**
133137
* Output only. The unique resource name of the Backup. Format is
134-
* `projects/{project}/locations/{location}/backups/{backup}`.
138+
* `projects/{project}/locations/{location}/backups/{backup}`. The location in
139+
* the name will be the Standard Managed Multi-Region (SMMR) location (e.g.
140+
* `us`) if the backup was created with an SMMR location, or the Google
141+
* Managed Multi-Region (GMMR) location (e.g. `nam5`) if the backup was
142+
* created with a GMMR location.
135143
*
136144
* @param string $name
137145
*/

src/Firestore/GoogleFirestoreAdminV1LocationMetadata.php

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -17,38 +17,8 @@
1717

1818
namespace Google\Service\Firestore;
1919

20-
class GoogleFirestoreAdminV1LocationMetadata extends \Google\Collection
20+
class GoogleFirestoreAdminV1LocationMetadata extends \Google\Model
2121
{
22-
protected $collection_key = 'availableStoragePlacements';
23-
/**
24-
* The storage placements available in the location. When the location
25-
* represents a Standard Managed Multi-Region (SMMR) like "us", this field
26-
* lists the available Google-Managed Multi-Regions (GMMRs) within it, such as
27-
* "nam5" or "eur3".
28-
*
29-
* @var string[]
30-
*/
31-
public $availableStoragePlacements;
32-
33-
/**
34-
* The storage placements available in the location. When the location
35-
* represents a Standard Managed Multi-Region (SMMR) like "us", this field
36-
* lists the available Google-Managed Multi-Regions (GMMRs) within it, such as
37-
* "nam5" or "eur3".
38-
*
39-
* @param string[] $availableStoragePlacements
40-
*/
41-
public function setAvailableStoragePlacements($availableStoragePlacements)
42-
{
43-
$this->availableStoragePlacements = $availableStoragePlacements;
44-
}
45-
/**
46-
* @return string[]
47-
*/
48-
public function getAvailableStoragePlacements()
49-
{
50-
return $this->availableStoragePlacements;
51-
}
5222
}
5323

5424
// Adding a class alias for backwards compatibility with the previous class name.

0 commit comments

Comments
 (0)