diff --git a/src/Firestore/GoogleFirestoreAdminV1Backup.php b/src/Firestore/GoogleFirestoreAdminV1Backup.php index 0fb0319d24..0a82dd17be 100644 --- a/src/Firestore/GoogleFirestoreAdminV1Backup.php +++ b/src/Firestore/GoogleFirestoreAdminV1Backup.php @@ -58,7 +58,11 @@ class GoogleFirestoreAdminV1Backup extends \Google\Model public $expireTime; /** * Output only. The unique resource name of the Backup. Format is - * `projects/{project}/locations/{location}/backups/{backup}`. + * `projects/{project}/locations/{location}/backups/{backup}`. The location in + * the name will be the Standard Managed Multi-Region (SMMR) location (e.g. + * `us`) if the backup was created with an SMMR location, or the Google + * Managed Multi-Region (GMMR) location (e.g. `nam5`) if the backup was + * created with a GMMR location. * * @var string */ @@ -131,7 +135,11 @@ public function getExpireTime() } /** * Output only. The unique resource name of the Backup. Format is - * `projects/{project}/locations/{location}/backups/{backup}`. + * `projects/{project}/locations/{location}/backups/{backup}`. The location in + * the name will be the Standard Managed Multi-Region (SMMR) location (e.g. + * `us`) if the backup was created with an SMMR location, or the Google + * Managed Multi-Region (GMMR) location (e.g. `nam5`) if the backup was + * created with a GMMR location. * * @param string $name */ diff --git a/src/Firestore/GoogleFirestoreAdminV1LocationMetadata.php b/src/Firestore/GoogleFirestoreAdminV1LocationMetadata.php index 6122489cd0..ab67fbf004 100644 --- a/src/Firestore/GoogleFirestoreAdminV1LocationMetadata.php +++ b/src/Firestore/GoogleFirestoreAdminV1LocationMetadata.php @@ -17,38 +17,8 @@ namespace Google\Service\Firestore; -class GoogleFirestoreAdminV1LocationMetadata extends \Google\Collection +class GoogleFirestoreAdminV1LocationMetadata extends \Google\Model { - protected $collection_key = 'availableStoragePlacements'; - /** - * The storage placements available in the location. When the location - * represents a Standard Managed Multi-Region (SMMR) like "us", this field - * lists the available Google-Managed Multi-Regions (GMMRs) within it, such as - * "nam5" or "eur3". - * - * @var string[] - */ - public $availableStoragePlacements; - - /** - * The storage placements available in the location. When the location - * represents a Standard Managed Multi-Region (SMMR) like "us", this field - * lists the available Google-Managed Multi-Regions (GMMRs) within it, such as - * "nam5" or "eur3". - * - * @param string[] $availableStoragePlacements - */ - public function setAvailableStoragePlacements($availableStoragePlacements) - { - $this->availableStoragePlacements = $availableStoragePlacements; - } - /** - * @return string[] - */ - public function getAvailableStoragePlacements() - { - return $this->availableStoragePlacements; - } } // Adding a class alias for backwards compatibility with the previous class name.