Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::SnapshotSettingsStorageLocationSettings (v2.11.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::SnapshotSettingsStorageLocationSettings.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#locations

def locations() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::SnapshotSettingsStorageLocationSettingsStorageLocationPreference}
Returns
  • (::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. Keys are GCS bucket locations.

#locations=

def locations=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::SnapshotSettingsStorageLocationSettingsStorageLocationPreference}
Parameter
  • value (::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. Keys are GCS bucket locations.
Returns
  • (::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. Keys are GCS bucket locations.

#policy

def policy() -> ::String
Returns
  • (::String) — The chosen location policy. Check the Policy enum for the list of possible values.

#policy=

def policy=(value) -> ::String
Parameter
  • value (::String) — The chosen location policy. Check the Policy enum for the list of possible values.
Returns
  • (::String) — The chosen location policy. Check the Policy enum for the list of possible values.