Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions src/Firestore/GoogleFirestoreAdminV1Backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down
32 changes: 1 addition & 31 deletions src/Firestore/GoogleFirestoreAdminV1LocationMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading