Reference documentation and code samples for the Compute V1 Client class Policy.
The chosen location policy.
Protobuf type google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings.Policy
Namespace
Google \ Cloud \ Compute \ V1 \ SnapshotSettingsStorageLocationSettingsMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
UNDEFINED_POLICY
Value: 0
A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_POLICY = 0;
LOCAL_REGION
Value: 403535464
Store snapshot in the same region as with the originating disk. No additional parameters are needed.
Generated from protobuf enum LOCAL_REGION = 403535464;
NEAREST_MULTI_REGION
Value: 212467515
Store snapshot in the nearest multi region Cloud Storage bucket, relative to the originating disk. No additional parameters are needed.
Generated from protobuf enum NEAREST_MULTI_REGION = 212467515;
SPECIFIC_LOCATIONS
Value: 280093809
Store snapshot in the specific locations, as specified by the user. The list of regions to store must be defined under the locations
field.
Generated from protobuf enum SPECIFIC_LOCATIONS = 280093809;
STORAGE_LOCATION_POLICY_UNSPECIFIED
Value: 250644592
Generated from protobuf enum STORAGE_LOCATION_POLICY_UNSPECIFIED = 250644592;