Class SnapshotSettingsStorageLocationSettings (1.16.1)

SnapshotSettingsStorageLocationSettings(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Attributes

NameDescription
locations MutableMapping[str, google.cloud.compute_v1.types.SnapshotSettingsStorageLocationSettingsStorageLocationPreference]
When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are GCS bucket locations.
policy str
The chosen location policy. Check the Policy enum for the list of possible values. This field is a member of oneof_ _policy.

Classes

LocationsEntry

LocationsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

Policy

Policy(value)

The chosen location policy.

Values: UNDEFINED_POLICY (0): A value indicating that the enum field is not set. LOCAL_REGION (403535464): Store snapshot in the same region as with the originating disk. No additional parameters are needed. NEAREST_MULTI_REGION (212467515): Store snapshot to the nearest multi region GCS bucket, relative to the originating disk. No additional parameters are needed. SPECIFIC_LOCATIONS (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. STORAGE_LOCATION_POLICY_UNSPECIFIED (250644592): No description available.