locations = $locations; } /** * @return SnapshotSettingsStorageLocationSettingsStorageLocationPreference[] */ public function getLocations() { return $this->locations; } /** * The chosen location policy. * * Accepted values: LOCAL_REGION, NEAREST_MULTI_REGION, SPECIFIC_LOCATIONS, * STORAGE_LOCATION_POLICY_UNSPECIFIED * * @param self::POLICY_* $policy */ public function setPolicy($policy) { $this->policy = $policy; } /** * @return self::POLICY_* */ public function getPolicy() { return $this->policy; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SnapshotSettingsStorageLocationSettings::class, 'Google_Service_Compute_SnapshotSettingsStorageLocationSettings');