File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 */
Original file line number Diff line number Diff line change 1717
1818namespace 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.
You can’t perform that action at this time.
0 commit comments