DiskSettings

JSON representation
{
  "accessLocation": {
    object (AccessLocation)
  }
}
Fields
accessLocation

object (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 (AccessLocationPreference)
    },
    ...
  },
  "policy": enum (AccessLocationPolicy)
}
Fields
locations

map (key: string, value: object (AccessLocationPreference))

List of regions that can create a regional snapshot from the current region

policy

enum (AccessLocationPolicy)

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

string

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