SnapshotSettingsStorageLocationSettings(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
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 | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
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 |
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.