Class: Google::Cloud::Compute::V1::SnapshotSettingsStorageLocationSettings
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::SnapshotSettingsStorageLocationSettings
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Defined Under Namespace
Modules: Policy Classes: LocationsEntry
Instance Attribute Summary collapse
-
#locations ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::SnapshotSettingsStorageLocationSettingsStorageLocationPreference}
When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field.
-
#policy ⇒ ::String
The chosen location policy.
Instance Attribute Details
#locations ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::SnapshotSettingsStorageLocationSettingsStorageLocationPreference}
Returns When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are GCS bucket locations.
29929 29930 29931 29932 29933 29934 29935 29936 29937 29938 29939 29940 29941 29942 29943 29944 29945 29946 29947 29948 29949 29950 29951 29952 29953 29954 29955 29956 29957 29958 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 29929 class SnapshotSettingsStorageLocationSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Compute::V1::SnapshotSettingsStorageLocationSettingsStorageLocationPreference] class LocationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The chosen location policy. module Policy # A value indicating that the enum field is not set. UNDEFINED_POLICY = 0 # Store snapshot in the same region as with the originating disk. No additional parameters are needed. LOCAL_REGION = 403_535_464 # Store snapshot to the nearest multi region GCS bucket, relative to the originating disk. No additional parameters are needed. NEAREST_MULTI_REGION = 212_467_515 # 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 = 280_093_809 STORAGE_LOCATION_POLICY_UNSPECIFIED = 250_644_592 end end |
#policy ⇒ ::String
Returns The chosen location policy. Check the Policy enum for the list of possible values.
29929 29930 29931 29932 29933 29934 29935 29936 29937 29938 29939 29940 29941 29942 29943 29944 29945 29946 29947 29948 29949 29950 29951 29952 29953 29954 29955 29956 29957 29958 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 29929 class SnapshotSettingsStorageLocationSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Compute::V1::SnapshotSettingsStorageLocationSettingsStorageLocationPreference] class LocationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The chosen location policy. module Policy # A value indicating that the enum field is not set. UNDEFINED_POLICY = 0 # Store snapshot in the same region as with the originating disk. No additional parameters are needed. LOCAL_REGION = 403_535_464 # Store snapshot to the nearest multi region GCS bucket, relative to the originating disk. No additional parameters are needed. NEAREST_MULTI_REGION = 212_467_515 # 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 = 280_093_809 STORAGE_LOCATION_POLICY_UNSPECIFIED = 250_644_592 end end |