| JSON representation |
|---|
{
"accessLocation": {
object ( |
| Fields | |
|---|---|
accessLocation |
Policy of which locations are allowed to create regional snapshots. |
AccessLocation
AccessLocation is only used for regional snapshot. It contains which regions are allowed to create a regional snapshot from disks located in the given region/zone. It includes key-value pairs designed to store the following structure. The keys should match their corresponding values, which must be provided: accessLocation: { locations { us-central1 { region: "us-central1" }, asia-west2 { region: "asia-west2" } } }
| JSON representation |
|---|
{ "locations": { string: { object ( |
| Fields | |
|---|---|
locations |
List of regions that can create a regional snapshot from the current region |
policy |
Policy of which location is allowed to access snapshot. |
AccessLocationPreference
A structure for specifying an allowed target region to create snapshot.
| JSON representation |
|---|
{ "region": string } |
| Fields | |
|---|---|
region |
Accessible region name |
AccessLocationPolicy
| Enums | |
|---|---|
POLICY_UNSPECIFIED |
|
ALL_REGIONS |
Any regions will be able to access the source location. |
SPECIFIC_REGIONS |
Only allowlisted regions will be able to create region scoped snapshots |