Enum SnapshotSettingsStorageLocationSettings.Policy (1.52.0)

public enum SnapshotSettingsStorageLocationSettings.Policy extends Enum<SnapshotSettingsStorageLocationSettings.Policy> implements ProtocolMessageEnum

The chosen location policy.

Protobuf enum google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings.Policy

Implements

ProtocolMessageEnum

Static Fields

Name Description
LOCAL_REGION

Store snapshot in the same region as with the originating disk. No additional parameters are needed.

LOCAL_REGION = 403535464;

LOCAL_REGION_VALUE

Store snapshot in the same region as with the originating disk. No additional parameters are needed.

LOCAL_REGION = 403535464;

NEAREST_MULTI_REGION

Store snapshot to the nearest multi region GCS bucket, relative to the originating disk. No additional parameters are needed.

NEAREST_MULTI_REGION = 212467515;

NEAREST_MULTI_REGION_VALUE

Store snapshot to the nearest multi region GCS bucket, relative to the originating disk. No additional parameters are needed.

NEAREST_MULTI_REGION = 212467515;

SPECIFIC_LOCATIONS

Store snapshot in the specific locations, as specified by the user. The list of regions to store must be defined under the locations field.

SPECIFIC_LOCATIONS = 280093809;

SPECIFIC_LOCATIONS_VALUE

Store snapshot in the specific locations, as specified by the user. The list of regions to store must be defined under the locations field.

SPECIFIC_LOCATIONS = 280093809;

STORAGE_LOCATION_POLICY_UNSPECIFIED

STORAGE_LOCATION_POLICY_UNSPECIFIED = 250644592;

STORAGE_LOCATION_POLICY_UNSPECIFIED_VALUE

STORAGE_LOCATION_POLICY_UNSPECIFIED = 250644592;

UNDEFINED_POLICY

A value indicating that the enum field is not set.

UNDEFINED_POLICY = 0;

UNDEFINED_POLICY_VALUE

A value indicating that the enum field is not set.

UNDEFINED_POLICY = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()